Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009445/0.0009445, allocations: 181.6 kB / 8.134 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.082/1.082, allocations: 221.4 MB / 229.9 MB, free: 3.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008686/0.0008687, allocations: 93.59 kB / 280.8 MB, free: 1.168 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09105/0.09195, allocations: 55.81 MB / 336.6 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.2669, allocations: 50.39 MB / 387 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.925/9.192, allocations: 6.122 GB / 6.5 GB, free: 114.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/9.192, allocations: 76.84 kB / 6.5 GB, free: 114.5 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 2.629/11.82, allocations: 0.8075 GB / 7.308 GB, free: 39.91 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/11.82, allocations: 10.47 kB / 7.308 GB, free: 39.91 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003537/11.82, allocations: 57.56 kB / 7.308 GB, free: 39.89 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/11.82, allocations: 366.2 kB / 7.308 GB, free: 39.66 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/11.82, allocations: 15.88 kB / 7.308 GB, free: 39.66 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.05e-05/11.82, allocations: 29.16 kB / 7.308 GB, free: 39.66 MB / 474.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008168/11.82, allocations: 0.666 MB / 7.309 GB, free: 39.66 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006571/11.82, allocations: 480.7 kB / 7.309 GB, free: 39.62 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/11.82, allocations: 5.578 kB / 7.309 GB, free: 39.62 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-05/11.82, allocations: 3.906 kB / 7.309 GB, free: 39.62 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/11.82, allocations: 10.28 kB / 7.309 GB, free: 39.62 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/11.84, allocations: 11.59 MB / 7.321 GB, free: 29.06 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005673/11.84, allocations: 370 kB / 7.321 GB, free: 29.05 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/11.84, allocations: 234.4 kB / 7.321 GB, free: 29.04 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01869/11.85, allocations: 21.03 MB / 7.342 GB, free: 23.93 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/11.85, allocations: 45.44 kB / 7.342 GB, free: 23.89 MB / 490.8 MB Notification: Performance of pre-optimization done (n=50): time 2.414e-06/11.85, allocations: 0 / 7.342 GB, free: 23.89 MB / 490.8 MB Notification: Performance of matching and sorting (n=55): time 0.004437/11.86, allocations: 1.618 MB / 7.343 GB, free: 23.51 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/11.86, allocations: 62.34 kB / 7.343 GB, free: 23.45 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/11.86, allocations: 227.8 kB / 7.344 GB, free: 23.35 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/11.86, allocations: 25.7 kB / 7.344 GB, free: 23.32 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/11.86, allocations: 193.4 kB / 7.344 GB, free: 23.18 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.053e-05/11.86, allocations: 186 kB / 7.344 GB, free: 23.05 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/11.86, allocations: 0 / 7.344 GB, free: 23.05 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.629e-05/11.86, allocations: 342.7 kB / 7.344 GB, free: 22.74 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/11.86, allocations: 224 kB / 7.345 GB, free: 22.74 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/11.86, allocations: 314.5 kB / 7.345 GB, free: 22.64 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008844/11.86, allocations: 367.4 kB / 7.345 GB, free: 22.64 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/11.86, allocations: 0 / 7.345 GB, free: 22.64 MB / 490.8 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001746/11.86, allocations: 0.7833 MB / 7.346 GB, free: 22.56 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/11.86, allocations: 11.31 kB / 7.346 GB, free: 22.56 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/11.86, allocations: 0 / 7.346 GB, free: 22.56 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/11.86, allocations: 84 kB / 7.346 GB, free: 22.54 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/11.86, allocations: 124.6 kB / 7.346 GB, free: 22.54 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/11.87, allocations: 3.18 MB / 7.349 GB, free: 19.57 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/11.87, allocations: 26.61 kB / 7.349 GB, free: 19.57 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.28e-05/11.87, allocations: 42.66 kB / 7.349 GB, free: 19.57 MB / 490.8 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002154/11.87, allocations: 132 kB / 7.349 GB, free: 19.45 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/11.87, allocations: 41.41 kB / 7.349 GB, free: 19.43 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/11.87, allocations: 0.8961 MB / 7.35 GB, free: 19.31 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/11.87, allocations: 7.281 kB / 7.35 GB, free: 19.31 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/11.87, allocations: 7.516 kB / 7.35 GB, free: 19.3 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001171/11.87, allocations: 0.7992 MB / 7.351 GB, free: 18.94 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/11.87, allocations: 1.285 MB / 7.352 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/11.87, allocations: 3.422 kB / 7.352 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004426/11.87, allocations: 110.2 kB / 7.353 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000145/11.87, allocations: 65.09 kB / 7.353 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/11.87, allocations: 16.3 kB / 7.353 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005012/11.87, allocations: 0.6876 MB / 7.353 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/11.87, allocations: 7.781 kB / 7.353 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001591/11.87, allocations: 0.9599 MB / 7.354 GB, free: 17.81 MB / 490.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002516/11.88, allocations: 1.796 MB / 7.356 GB, free: 17.22 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/11.88, allocations: 124.5 kB / 7.356 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.583e-05/11.88, allocations: 0 / 7.356 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/11.88, allocations: 25.55 kB / 7.356 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/11.88, allocations: 37.19 kB / 7.356 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.099e-05/11.88, allocations: 31.16 kB / 7.356 GB, free: 17.11 MB / 490.8 MB Notification: Performance of sort global known variables: time 0.0001767/11.88, allocations: 206.4 kB / 7.356 GB, free: 17.03 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.008157/11.89, allocations: 2.275 MB / 7.359 GB, free: 16.64 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01187/11.9, allocations: 3.145 MB / 7.362 GB, free: 16.1 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.001209/11.9, allocations: 0.7645 MB / 7.362 GB, free: 15.89 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/11.9, allocations: 0 / 7.362 GB, free: 15.89 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003437/11.9, allocations: 297.7 kB / 7.363 GB, free: 15.88 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/11.9, allocations: 179.2 kB / 7.363 GB, free: 15.87 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/11.9, allocations: 0.8396 MB / 7.364 GB, free: 15.67 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006044/11.9, allocations: 0.9315 MB / 7.365 GB, free: 14.96 MB / 490.8 MB Notification: Performance of SimCode: time 3.31e-07/11.9, allocations: 0 / 7.365 GB, free: 14.96 MB / 490.8 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)