Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 178.3 kB / 8.518 MB, free: 1.844 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.171/1.171, allocations: 221.4 MB / 230.3 MB, free: 7.738 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.0009456/0.0009456, allocations: 92.72 kB / 281.2 MB, free: 5.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1605/0.1605, allocations: 44.14 MB / 376.1 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1707/0.3312, allocations: 68.04 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09005/0.4213, allocations: 61.92 MB / 0.4942 GB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8545/1.276, allocations: 0.5444 GB / 1.039 GB, free: 61.48 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/1.276, allocations: 79.78 kB / 1.039 GB, free: 61.41 MB / 0.5105 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.3423/1.618, allocations: 107 MB / 1.143 GB, free: 156 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/1.618, allocations: 14.22 kB / 1.143 GB, free: 156 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006683/1.619, allocations: 83.28 kB / 1.143 GB, free: 156 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/1.619, allocations: 256.5 kB / 1.143 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/1.62, allocations: 8.75 kB / 1.144 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/1.62, allocations: 16.06 kB / 1.144 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008078/1.62, allocations: 0.5824 MB / 1.144 GB, free: 155.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/1.621, allocations: 360.4 kB / 1.144 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/1.621, allocations: 0 / 1.144 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/1.621, allocations: 2.922 kB / 1.144 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/1.621, allocations: 6.656 kB / 1.144 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05006/1.671, allocations: 29.31 MB / 1.173 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.199e-05/1.671, allocations: 46.5 kB / 1.173 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.355e-05/1.671, allocations: 12.86 kB / 1.173 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007925/1.679, allocations: 3.562 MB / 1.177 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/1.679, allocations: 79.28 kB / 1.177 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 2.255e-06/1.679, allocations: 3.938 kB / 1.177 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0006978/1.68, allocations: 157.4 kB / 1.177 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.555e-05/1.68, allocations: 59.34 kB / 1.177 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/1.68, allocations: 224 kB / 1.177 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/1.68, allocations: 29.69 kB / 1.177 GB, free: 123 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/1.68, allocations: 254.1 kB / 1.177 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/1.68, allocations: 23.73 kB / 1.177 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.421e-05/1.68, allocations: 0 / 1.177 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.061e-05/1.68, allocations: 326.8 kB / 1.178 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.872e-05/1.68, allocations: 56.86 kB / 1.178 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/1.681, allocations: 289.9 kB / 1.178 GB, free: 122 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/1.682, allocations: 219.5 kB / 1.178 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.682, allocations: 0 / 1.178 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002174/1.684, allocations: 0.5561 MB / 1.179 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/1.684, allocations: 8 kB / 1.179 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/1.684, allocations: 8 kB / 1.179 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/1.684, allocations: 15.94 kB / 1.179 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/1.685, allocations: 111.8 kB / 1.179 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/1.685, allocations: 19.92 kB / 1.179 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/1.685, allocations: 47.44 kB / 1.179 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/1.685, allocations: 24 kB / 1.179 GB, free: 121 MB / 0.5105 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 7.079e-05/1.685, allocations: 136.8 kB / 1.179 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002861/1.685, allocations: 91.72 kB / 1.179 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003162/1.686, allocations: 148 kB / 1.179 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/1.686, allocations: 7.844 kB / 1.179 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.686, allocations: 0 / 1.179 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.686, allocations: 0 / 1.179 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004624/1.69, allocations: 2.313 MB / 1.182 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.69, allocations: 0 / 1.182 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/1.69, allocations: 8.125 kB / 1.182 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/1.69, allocations: 4.156 kB / 1.182 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/1.69, allocations: 8 kB / 1.182 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.69, allocations: 3.984 kB / 1.182 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.69, allocations: 7.938 kB / 1.182 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000475/1.691, allocations: 321.9 kB / 1.182 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006032/1.692, allocations: 0.7361 MB / 1.183 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-05/1.692, allocations: 140.8 kB / 1.183 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.08e-05/1.692, allocations: 3.984 kB / 1.183 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/1.692, allocations: 12 kB / 1.183 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/1.692, allocations: 8 kB / 1.183 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/1.692, allocations: 7.984 kB / 1.183 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001268/1.692, allocations: 179.1 kB / 1.183 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002132/1.694, allocations: 491.3 kB / 1.183 GB, free: 116 MB / 0.5105 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.002275/1.697, allocations: 0.8683 MB / 1.184 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002639/1.697, allocations: 165.3 kB / 1.185 GB, free: 115 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.697, allocations: 0 / 1.185 GB, free: 115 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-05/1.697, allocations: 28.48 kB / 1.185 GB, free: 115 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/1.697, allocations: 24.73 kB / 1.185 GB, free: 115 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4124/2.11, allocations: 208.1 MB / 1.388 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/2.11, allocations: 0.7867 MB / 1.389 GB, free: 160.5 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/2.11, allocations: 0 / 1.389 GB, free: 160.5 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat