Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir",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 trunk/package.mo): time 0.001763/0.001763, allocations: 199.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.223/1.223, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008875/0.0008876, allocations: 90.61 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1727/0.1727, allocations: 45.14 MB / 383.3 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1932/0.3659, allocations: 69.36 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08247/0.4484, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.924/5.373, allocations: 3.504 GB / 4.008 GB, free: 67.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/5.373, allocations: 71.95 kB / 4.008 GB, free: 67.33 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.3615/5.734, allocations: 88.1 MB / 4.094 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/5.735, allocations: 17.47 kB / 4.094 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/5.735, allocations: 35.16 kB / 4.094 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/5.735, allocations: 244 kB / 4.094 GB, free: 158 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.388e-05/5.735, allocations: 122.2 kB / 4.095 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/5.735, allocations: 15.25 kB / 4.095 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001001/5.736, allocations: 1.198 MB / 4.096 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005079/5.737, allocations: 0.5144 MB / 4.096 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/5.737, allocations: 0 / 4.096 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/5.737, allocations: 3.938 kB / 4.096 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.573e-05/5.737, allocations: 34.89 kB / 4.096 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003328/5.74, allocations: 4.543 MB / 4.101 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/5.74, allocations: 123.4 kB / 4.101 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.596e-05/5.74, allocations: 44.36 kB / 4.101 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/5.74, allocations: 362.1 kB / 4.101 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/5.741, allocations: 44.06 kB / 4.101 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/5.741, allocations: 0 / 4.101 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.0009533/5.741, allocations: 309.9 kB / 4.102 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.483e-05/5.742, allocations: 61.62 kB / 4.102 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/5.742, allocations: 248.9 kB / 4.102 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/5.742, allocations: 25.7 kB / 4.102 GB, free: 153 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/5.742, allocations: 273.7 kB / 4.102 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/5.742, allocations: 67.81 kB / 4.102 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/5.742, allocations: 3.438 kB / 4.102 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.285e-05/5.742, allocations: 332.8 kB / 4.103 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/5.742, allocations: 89.89 kB / 4.103 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/5.742, allocations: 394.1 kB / 4.103 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/5.744, allocations: 323 kB / 4.103 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/5.744, allocations: 7.781 kB / 4.103 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001711/5.745, allocations: 0.6395 MB / 4.104 GB, free: 152 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/5.745, allocations: 7.719 kB / 4.104 GB, free: 152 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/5.745, allocations: 11.69 kB / 4.104 GB, free: 152 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/5.745, allocations: 15.53 kB / 4.104 GB, free: 152 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/5.746, allocations: 203.8 kB / 4.104 GB, free: 152 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004383/5.746, allocations: 1.212 MB / 4.105 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/5.747, allocations: 17.23 kB / 4.105 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.07e-05/5.747, allocations: 79.05 kB / 4.105 GB, free: 150.9 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001296/5.747, allocations: 133.3 kB / 4.106 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.807e-05/5.747, allocations: 24.91 kB / 4.106 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005414/5.748, allocations: 230.5 kB / 4.106 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/5.748, allocations: 0 / 4.106 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/5.748, allocations: 2.5 kB / 4.106 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/5.748, allocations: 0 / 4.106 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006066/5.748, allocations: 0.5135 MB / 4.106 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/5.748, allocations: 0 / 4.106 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/5.749, allocations: 74.14 kB / 4.106 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/5.749, allocations: 0 / 4.106 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/5.749, allocations: 5.844 kB / 4.106 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003786/5.749, allocations: 1.196 MB / 4.108 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/5.749, allocations: 0 / 4.108 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003483/5.75, allocations: 296.4 kB / 4.108 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004826/5.75, allocations: 0.7076 MB / 4.109 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/5.75, allocations: 162.2 kB / 4.109 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-05/5.75, allocations: 7.141 kB / 4.109 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/5.751, allocations: 5.688 kB / 4.109 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/5.751, allocations: 12.05 kB / 4.109 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/5.751, allocations: 10.69 kB / 4.109 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001292/5.751, allocations: 179.6 kB / 4.109 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002378/5.753, allocations: 0.6935 MB / 4.11 GB, free: 148.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002078/5.755, allocations: 1.305 MB / 4.111 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006712/5.756, allocations: 317.1 kB / 4.111 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/5.756, allocations: 0 / 4.111 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003371/5.756, allocations: 103.8 kB / 4.111 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/5.757, allocations: 59.77 kB / 4.111 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2078/5.965, allocations: 51.24 MB / 4.161 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006504/5.965, allocations: 0.8816 MB / 4.162 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of SimCode: time 7.81e-07/5.965, allocations: 0 / 4.162 GB, free: 120.4 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1)