Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001332/0.001332, allocations: 186 kB / 7.8 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 85.42 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1927/0.1927, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2171/0.4098, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.7709, allocations: 58.83 MB / 476.7 MB, free: 5.285 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.39/2.161, allocations: 0.645 GB / 1.11 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/2.161, allocations: 87.45 kB / 1.111 GB, free: 111.3 MB / 0.4948 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.2066/2.368, allocations: 109.9 MB / 1.218 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/2.368, allocations: 12 kB / 1.218 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007516/2.369, allocations: 79.64 kB / 1.218 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/2.369, allocations: 250.6 kB / 1.218 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/2.369, allocations: 8 kB / 1.218 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/2.369, allocations: 16 kB / 1.218 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000793/2.37, allocations: 0.5829 MB / 1.219 GB, free: 168 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2251/2.595, allocations: 351 kB / 1.219 GB, free: 186 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/2.595, allocations: 3.969 kB / 1.219 GB, free: 186 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.286e-05/2.595, allocations: 0 / 1.219 GB, free: 186 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/2.595, allocations: 7.906 kB / 1.219 GB, free: 186 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05365/2.649, allocations: 29.3 MB / 1.248 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.375e-05/2.649, allocations: 39.97 kB / 1.248 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/2.649, allocations: 12.73 kB / 1.248 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008194/2.657, allocations: 3.575 MB / 1.251 GB, free: 166.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/2.658, allocations: 78.89 kB / 1.251 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 3.136e-06/2.658, allocations: 0 / 1.251 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0008242/2.659, allocations: 152.3 kB / 1.251 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/2.659, allocations: 59 kB / 1.252 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/2.659, allocations: 216.8 kB / 1.252 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/2.659, allocations: 25.7 kB / 1.252 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/2.659, allocations: 258.6 kB / 1.252 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/2.659, allocations: 31.27 kB / 1.252 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.722e-05/2.659, allocations: 4 kB / 1.252 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.715e-05/2.659, allocations: 328.5 kB / 1.252 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.076e-05/2.659, allocations: 52.88 kB / 1.252 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/2.659, allocations: 295.7 kB / 1.253 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/2.661, allocations: 207.9 kB / 1.253 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/2.661, allocations: 7.094 kB / 1.253 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002284/2.663, allocations: 0.5511 MB / 1.253 GB, free: 165.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/2.663, allocations: 6.875 kB / 1.253 GB, free: 165.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/2.663, allocations: 10.72 kB / 1.253 GB, free: 165.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/2.663, allocations: 19.47 kB / 1.253 GB, free: 165.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/2.664, allocations: 111.9 kB / 1.254 GB, free: 165.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/2.664, allocations: 16.56 kB / 1.254 GB, free: 165.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/2.664, allocations: 47.52 kB / 1.254 GB, free: 165.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/2.664, allocations: 32.27 kB / 1.254 GB, free: 165.4 MB / 0.4948 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 0.0001195/2.664, allocations: 133.4 kB / 1.254 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003165/2.665, allocations: 90.61 kB / 1.254 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003717/2.665, allocations: 154.4 kB / 1.254 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/2.665, allocations: 3.875 kB / 1.254 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/2.665, allocations: 0 / 1.254 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/2.665, allocations: 2.531 kB / 1.254 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004836/2.67, allocations: 2.315 MB / 1.256 GB, free: 164 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/2.67, allocations: 0 / 1.256 GB, free: 164 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/2.67, allocations: 9.719 kB / 1.256 GB, free: 164 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/2.67, allocations: 3.219 kB / 1.256 GB, free: 164 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/2.67, allocations: 0 / 1.256 GB, free: 164 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/2.67, allocations: 3.469 kB / 1.256 GB, free: 164 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/2.67, allocations: 2.719 kB / 1.256 GB, free: 164 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005189/2.671, allocations: 324.8 kB / 1.257 GB, free: 163.8 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006776/2.671, allocations: 0.7375 MB / 1.257 GB, free: 163.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/2.671, allocations: 147 kB / 1.257 GB, free: 163 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.337e-05/2.671, allocations: 6.641 kB / 1.258 GB, free: 163 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/2.672, allocations: 3.875 kB / 1.258 GB, free: 163 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/2.672, allocations: 12.59 kB / 1.258 GB, free: 163 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/2.672, allocations: 7.328 kB / 1.258 GB, free: 163 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001925/2.672, allocations: 189.2 kB / 1.258 GB, free: 163 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002804/2.675, allocations: 484.4 kB / 1.258 GB, free: 163 MB / 0.4948 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.003033/2.678, allocations: 0.8569 MB / 1.259 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004108/2.678, allocations: 175.8 kB / 1.259 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/2.678, allocations: 0 / 1.259 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/2.678, allocations: 22.62 kB / 1.259 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/2.679, allocations: 33.38 kB / 1.259 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5505/3.229, allocations: 210.8 MB / 1.465 GB, free: 184.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/3.23, allocations: 0.7844 MB / 1.466 GB, free: 184.1 MB / 0.4948 GB Notification: Performance of SimCode: time 8.91e-07/3.23, allocations: 3.938 kB / 1.466 GB, free: 184.1 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat