Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 175.4 kB / 8.52 MB, free: 1.852 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.174/1.174, allocations: 221.4 MB / 230.3 MB, free: 7.746 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.000959/0.000959, allocations: 87.69 kB / 281.2 MB, free: 5.508 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.165/0.165, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1771/0.3421, allocations: 68.04 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08836/0.4304, allocations: 61.9 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8426/1.273, allocations: 0.5444 GB / 1.039 GB, free: 72.56 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001875/1.273, allocations: 85.09 kB / 1.039 GB, free: 72.52 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.3227/1.596, allocations: 107 MB / 1.143 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/1.596, allocations: 13.34 kB / 1.143 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006028/1.597, allocations: 77.28 kB / 1.143 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/1.597, allocations: 250.3 kB / 1.143 GB, free: 174.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/1.597, allocations: 10.97 kB / 1.143 GB, free: 174.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/1.597, allocations: 11.59 kB / 1.144 GB, free: 174.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006069/1.598, allocations: 0.5863 MB / 1.144 GB, free: 174.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004121/1.598, allocations: 353.8 kB / 1.144 GB, free: 174.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/1.598, allocations: 7.5 kB / 1.144 GB, free: 174.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/1.598, allocations: 1.469 kB / 1.144 GB, free: 174.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/1.598, allocations: 11.84 kB / 1.144 GB, free: 174.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05239/1.65, allocations: 26.97 MB / 1.171 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/1.651, allocations: 82.41 kB / 1.171 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/1.651, allocations: 26.5 kB / 1.171 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01585/1.667, allocations: 6.506 MB / 1.177 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/1.667, allocations: 103.2 kB / 1.177 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 2.215e-06/1.667, allocations: 0 / 1.177 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.001629/1.668, allocations: 386.2 kB / 1.178 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.672e-05/1.668, allocations: 51.41 kB / 1.178 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/1.669, allocations: 192.2 kB / 1.178 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/1.669, allocations: 29.7 kB / 1.178 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/1.669, allocations: 234.5 kB / 1.178 GB, free: 151 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/1.669, allocations: 55.3 kB / 1.178 GB, free: 151 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.311e-05/1.669, allocations: 0 / 1.178 GB, free: 151 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.227e-05/1.669, allocations: 330.8 kB / 1.179 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/1.669, allocations: 53 kB / 1.179 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/1.669, allocations: 333.6 kB / 1.179 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008726/1.67, allocations: 175.7 kB / 1.179 GB, free: 150 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.67, allocations: 4 kB / 1.179 GB, free: 150 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001701/1.672, allocations: 0.5649 MB / 1.18 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/1.672, allocations: 7.938 kB / 1.18 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/1.672, allocations: 12 kB / 1.18 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001296/1.672, allocations: 50.39 kB / 1.18 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/1.672, allocations: 103.8 kB / 1.18 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005753/1.673, allocations: 1.251 MB / 1.181 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/1.673, allocations: 11.91 kB / 1.181 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.217e-05/1.673, allocations: 32.17 kB / 1.181 GB, free: 147.9 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.0001236/1.673, allocations: 128.8 kB / 1.181 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/1.673, allocations: 91.72 kB / 1.181 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007152/1.674, allocations: 425.5 kB / 1.182 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/1.674, allocations: 4 kB / 1.182 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.674, allocations: 0 / 1.182 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.674, allocations: 4 kB / 1.182 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005153/1.679, allocations: 2.394 MB / 1.184 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/1.679, allocations: 64 / 1.184 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.873e-05/1.68, allocations: 19.98 kB / 1.184 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.996e-05/1.68, allocations: 57.78 kB / 1.184 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/1.68, allocations: 15.84 kB / 1.184 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005457/1.68, allocations: 1.293 MB / 1.185 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/1.68, allocations: 0 / 1.185 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007988/1.681, allocations: 0.5356 MB / 1.186 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009128/1.682, allocations: 0.9415 MB / 1.187 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.101e-05/1.682, allocations: 140.6 kB / 1.187 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/1.682, allocations: 0 / 1.187 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/1.682, allocations: 11.94 kB / 1.187 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/1.682, allocations: 15.97 kB / 1.187 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/1.682, allocations: 7.984 kB / 1.187 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001011/1.682, allocations: 157.2 kB / 1.187 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002012/1.684, allocations: 455.5 kB / 1.188 GB, free: 140.8 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.00202/1.687, allocations: 0.817 MB / 1.188 GB, free: 140 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004122/1.687, allocations: 292.4 kB / 1.189 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.687, allocations: 0 / 1.189 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/1.687, allocations: 153.7 kB / 1.189 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/1.687, allocations: 40.66 kB / 1.189 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3507/2.038, allocations: 173.8 MB / 1.359 GB, free: 218.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/2.038, allocations: 0.8029 MB / 1.359 GB, free: 217.9 MB / 0.5261 GB Notification: Performance of SimCode: time 9.32e-07/2.038, allocations: 3.062 kB / 1.359 GB, free: 217.9 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat