Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",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.001481/0.001481, allocations: 203.6 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.228/1.228, allocations: 225.5 MB / 234.4 MB, free: 3.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009225/0.0009226, allocations: 86.78 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1706/0.1706, allocations: 45.14 MB / 383.4 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2013/0.3719, allocations: 69.38 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08899/0.4609, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9192/1.38, allocations: 0.5455 GB / 1.049 GB, free: 119 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/1.38, allocations: 83.78 kB / 1.049 GB, free: 118.9 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.1842/1.565, allocations: 107 MB / 1.154 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/1.565, allocations: 8 kB / 1.154 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005821/1.565, allocations: 79.64 kB / 1.154 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/1.565, allocations: 246.7 kB / 1.154 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/1.565, allocations: 8 kB / 1.154 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/1.566, allocations: 20 kB / 1.154 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005838/1.566, allocations: 0.5829 MB / 1.155 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/1.566, allocations: 357.2 kB / 1.155 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.566, allocations: 3.938 kB / 1.155 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/1.567, allocations: 8 kB / 1.155 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/1.567, allocations: 8 kB / 1.155 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1845/1.751, allocations: 29.31 MB / 1.184 GB, free: 199.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.621e-05/1.751, allocations: 38.11 kB / 1.184 GB, free: 199.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.669e-05/1.751, allocations: 12.33 kB / 1.184 GB, free: 199.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008034/1.759, allocations: 3.564 MB / 1.187 GB, free: 197.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/1.759, allocations: 80.25 kB / 1.187 GB, free: 197.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/1.759, allocations: 0 / 1.187 GB, free: 197.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0006578/1.76, allocations: 157.9 kB / 1.188 GB, free: 197.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.515e-05/1.76, allocations: 51.41 kB / 1.188 GB, free: 197.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/1.76, allocations: 225.1 kB / 1.188 GB, free: 197.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/1.76, allocations: 25.7 kB / 1.188 GB, free: 197.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/1.76, allocations: 257.4 kB / 1.188 GB, free: 197.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/1.76, allocations: 29.19 kB / 1.188 GB, free: 197.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.469e-05/1.76, allocations: 0 / 1.188 GB, free: 197.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.419e-05/1.76, allocations: 328.4 kB / 1.188 GB, free: 197 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-05/1.761, allocations: 55.36 kB / 1.189 GB, free: 197 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/1.761, allocations: 293.2 kB / 1.189 GB, free: 196.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/1.762, allocations: 211.4 kB / 1.189 GB, free: 196.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.762, allocations: 3.938 kB / 1.189 GB, free: 196.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002176/1.764, allocations: 0.5566 MB / 1.19 GB, free: 196.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.764, allocations: 13.44 kB / 1.19 GB, free: 196.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.764, allocations: 7.938 kB / 1.19 GB, free: 196.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/1.764, allocations: 11.91 kB / 1.19 GB, free: 196.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/1.765, allocations: 109.7 kB / 1.19 GB, free: 196.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/1.765, allocations: 14.25 kB / 1.19 GB, free: 196.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/1.765, allocations: 48.52 kB / 1.19 GB, free: 196.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/1.765, allocations: 35.55 kB / 1.19 GB, free: 196.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.916e-05/1.765, allocations: 128.4 kB / 1.19 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/1.766, allocations: 96.34 kB / 1.19 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003209/1.766, allocations: 155.4 kB / 1.19 GB, free: 196.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.766, allocations: 0 / 1.19 GB, free: 196.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.766, allocations: 0 / 1.19 GB, free: 196.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.766, allocations: 0 / 1.19 GB, free: 196.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004599/1.77, allocations: 2.311 MB / 1.192 GB, free: 195.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.77, allocations: 160 / 1.192 GB, free: 195.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.666e-05/1.771, allocations: 13.06 kB / 1.192 GB, free: 195.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/1.771, allocations: 0 / 1.192 GB, free: 195.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/1.771, allocations: 3.906 kB / 1.192 GB, free: 195.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/1.771, allocations: 3.75 kB / 1.192 GB, free: 195.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.771, allocations: 3.844 kB / 1.192 GB, free: 195.2 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004706/1.771, allocations: 321.3 kB / 1.193 GB, free: 195 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005765/1.772, allocations: 0.7423 MB / 1.193 GB, free: 194.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.048e-05/1.772, allocations: 145.3 kB / 1.194 GB, free: 194.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/1.772, allocations: 4 kB / 1.194 GB, free: 194.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/1.772, allocations: 7.812 kB / 1.194 GB, free: 194.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/1.772, allocations: 11.55 kB / 1.194 GB, free: 194.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/1.772, allocations: 8.812 kB / 1.194 GB, free: 194.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001299/1.772, allocations: 177.9 kB / 1.194 GB, free: 194.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0019/1.774, allocations: 489 kB / 1.194 GB, free: 194.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001868/1.776, allocations: 0.8687 MB / 1.195 GB, free: 194 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002458/1.776, allocations: 163.1 kB / 1.195 GB, free: 194 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.776, allocations: 4.875 kB / 1.195 GB, free: 194 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.981e-05/1.776, allocations: 26.81 kB / 1.195 GB, free: 194 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/1.777, allocations: 23.78 kB / 1.195 GB, free: 194 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2772/2.054, allocations: 208.2 MB / 1.399 GB, free: 24.17 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/2.054, allocations: 0.7865 MB / 1.399 GB, free: 23.36 MB / 0.5261 GB Notification: Performance of SimCode: time 5.61e-07/2.054, allocations: 2.625 kB / 1.399 GB, free: 23.36 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat