Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",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.001028/0.001028, allocations: 202.3 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.184/1.184, allocations: 225.5 MB / 234.4 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009013/0.0009013, allocations: 92.45 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1889/0.1889, allocations: 45.14 MB / 383.3 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1867/0.3756, allocations: 69.38 MB / 452.7 MB, free: 76.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07924/0.4549, allocations: 63.24 MB / 0.5039 GB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8812/1.336, allocations: 0.5455 GB / 1.049 GB, free: 99.25 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/1.336, allocations: 80.28 kB / 1.049 GB, free: 99.21 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.1883/1.525, allocations: 107 MB / 1.154 GB, free: 184 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/1.525, allocations: 8 kB / 1.154 GB, free: 176 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005805/1.525, allocations: 75.66 kB / 1.154 GB, free: 100 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1254/1.651, allocations: 248.1 kB / 1.154 GB, free: 215.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/1.651, allocations: 11.62 kB / 1.154 GB, free: 215.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/1.651, allocations: 17.53 kB / 1.154 GB, free: 215.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006158/1.651, allocations: 0.5838 MB / 1.155 GB, free: 215.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/1.652, allocations: 348.9 kB / 1.155 GB, free: 215.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.652, allocations: 6.391 kB / 1.155 GB, free: 215.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/1.652, allocations: 0 / 1.155 GB, free: 215.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/1.652, allocations: 7.531 kB / 1.155 GB, free: 215.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04567/1.698, allocations: 26.99 MB / 1.182 GB, free: 202 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/1.698, allocations: 66.92 kB / 1.182 GB, free: 201.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.457e-05/1.698, allocations: 33.23 kB / 1.182 GB, free: 201.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01606/1.714, allocations: 6.485 MB / 1.188 GB, free: 199.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/1.714, allocations: 98.69 kB / 1.188 GB, free: 199.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 2.665e-06/1.714, allocations: 3.562 kB / 1.188 GB, free: 199.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.00156/1.716, allocations: 392.1 kB / 1.188 GB, free: 199 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.529e-05/1.716, allocations: 55.25 kB / 1.189 GB, free: 199 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/1.716, allocations: 194.2 kB / 1.189 GB, free: 198.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/1.716, allocations: 25.7 kB / 1.189 GB, free: 198.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/1.716, allocations: 230.9 kB / 1.189 GB, free: 198.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/1.716, allocations: 53.84 kB / 1.189 GB, free: 198.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/1.716, allocations: 3.562 kB / 1.189 GB, free: 198.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.176e-05/1.716, allocations: 336.7 kB / 1.189 GB, free: 198.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.524e-05/1.716, allocations: 53.66 kB / 1.189 GB, free: 198.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/1.716, allocations: 329.8 kB / 1.19 GB, free: 198 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008717/1.717, allocations: 180.9 kB / 1.19 GB, free: 198 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.717, allocations: 3.906 kB / 1.19 GB, free: 198 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001749/1.719, allocations: 0.5599 MB / 1.19 GB, free: 197.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/1.719, allocations: 4.625 kB / 1.19 GB, free: 197.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.719, allocations: 11.78 kB / 1.19 GB, free: 197.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001294/1.719, allocations: 45.55 kB / 1.19 GB, free: 197.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/1.719, allocations: 104.5 kB / 1.191 GB, free: 197.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000579/1.72, allocations: 1.251 MB / 1.192 GB, free: 196.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/1.72, allocations: 17.06 kB / 1.192 GB, free: 196.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/1.72, allocations: 33.34 kB / 1.192 GB, free: 196.7 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $DER.medium.d:DUMMY_DER(fixed = false ) "Density of medium" type: Real $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: 44 * 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): 52 * Array equations: 0 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001205/1.72, allocations: 132.2 kB / 1.192 GB, free: 196.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/1.721, allocations: 93.12 kB / 1.192 GB, free: 196.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007347/1.722, allocations: 418.2 kB / 1.192 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/1.722, allocations: 7.219 kB / 1.192 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/1.722, allocations: 0 / 1.192 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.722, allocations: 3.906 kB / 1.192 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005051/1.727, allocations: 2.398 MB / 1.195 GB, free: 195.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/1.727, allocations: 0 / 1.195 GB, free: 195.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.979e-05/1.727, allocations: 20.95 kB / 1.195 GB, free: 195.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.026e-05/1.727, allocations: 59.06 kB / 1.195 GB, free: 195.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/1.727, allocations: 0 / 1.195 GB, free: 195.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005397/1.727, allocations: 1.307 MB / 1.196 GB, free: 194.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.727, allocations: 0 / 1.196 GB, free: 194.3 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008028/1.728, allocations: 0.5367 MB / 1.197 GB, free: 194.1 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009104/1.729, allocations: 0.9342 MB / 1.198 GB, free: 193.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-05/1.729, allocations: 126.3 kB / 1.198 GB, free: 193.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/1.729, allocations: 3.969 kB / 1.198 GB, free: 193.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/1.729, allocations: 18.02 kB / 1.198 GB, free: 193.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/1.73, allocations: 7.766 kB / 1.198 GB, free: 193.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/1.73, allocations: 7.812 kB / 1.198 GB, free: 193.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001004/1.73, allocations: 163.3 kB / 1.198 GB, free: 193.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001957/1.732, allocations: 452.9 kB / 1.198 GB, free: 193.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001966/1.734, allocations: 0.8156 MB / 1.199 GB, free: 193.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000392/1.734, allocations: 290.2 kB / 1.199 GB, free: 193.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.734, allocations: 0 / 1.199 GB, free: 193.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/1.734, allocations: 160.1 kB / 1.2 GB, free: 193.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/1.734, allocations: 35.8 kB / 1.2 GB, free: 193.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2328/1.967, allocations: 173.8 MB / 1.369 GB, free: 44.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/1.968, allocations: 0.8014 MB / 1.37 GB, free: 43.83 MB / 0.5261 GB Notification: Performance of SimCode: time 6.22e-07/1.968, allocations: 0 / 1.37 GB, free: 43.83 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat