Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",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.001517/0.001517, allocations: 188.2 kB / 7.804 MB, free: 2.438 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.641/1.641, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0009155/0.0009159, allocations: 82.67 kB / 261.4 MB, free: 13.52 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.2227/0.2227, allocations: 43.5 MB / 352.9 MB, free: 1.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2307/0.4534, allocations: 64.96 MB / 417.8 MB, free: 40.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.8413, allocations: 58.84 MB / 476.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.526/2.367, allocations: 0.645 GB / 1.11 GB, free: 89.17 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/2.367, allocations: 85.02 kB / 1.111 GB, free: 89.12 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.5088/2.876, allocations: 109.9 MB / 1.218 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/2.876, allocations: 8.844 kB / 1.218 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007205/2.877, allocations: 84.2 kB / 1.218 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/2.877, allocations: 246.7 kB / 1.218 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/2.877, allocations: 7.344 kB / 1.218 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/2.877, allocations: 16.09 kB / 1.218 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008066/2.878, allocations: 0.5842 MB / 1.219 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/2.879, allocations: 356.8 kB / 1.219 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/2.879, allocations: 3.562 kB / 1.219 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/2.879, allocations: 3.75 kB / 1.219 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/2.879, allocations: 7.938 kB / 1.219 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07992/2.959, allocations: 39.04 MB / 1.257 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/2.959, allocations: 74.52 kB / 1.257 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.103e-05/2.959, allocations: 35.59 kB / 1.257 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0182/2.977, allocations: 7.095 MB / 1.264 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003265/2.978, allocations: 93.2 kB / 1.264 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 4.558e-06/2.978, allocations: 4 kB / 1.264 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.002217/2.98, allocations: 312.2 kB / 1.265 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/2.98, allocations: 52.44 kB / 1.265 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/2.981, allocations: 198.5 kB / 1.265 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/2.981, allocations: 30.89 kB / 1.265 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/2.981, allocations: 235.9 kB / 1.265 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.996e-05/2.981, allocations: 46.36 kB / 1.265 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/2.981, allocations: 0 / 1.265 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001218/2.981, allocations: 334.2 kB / 1.265 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/2.981, allocations: 54.44 kB / 1.266 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/2.982, allocations: 302 kB / 1.266 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/2.984, allocations: 224.5 kB / 1.266 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/2.984, allocations: 1.469 kB / 1.266 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003099/2.987, allocations: 0.5724 MB / 1.267 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/2.987, allocations: 4.219 kB / 1.267 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/2.987, allocations: 8.688 kB / 1.267 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.731e-05/2.987, allocations: 12.81 kB / 1.267 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008629/2.988, allocations: 151.5 kB / 1.267 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007828/2.989, allocations: 1.201 MB / 1.268 GB, free: 114 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/2.989, allocations: 14.59 kB / 1.268 GB, free: 114 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.935e-05/2.989, allocations: 30.42 kB / 1.268 GB, free: 114 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $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: 38 * 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 (55): * Single equations (assignments): 53 * 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 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002746/2.989, allocations: 131.7 kB / 1.268 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003871/2.99, allocations: 93.06 kB / 1.268 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009048/2.991, allocations: 327.4 kB / 1.269 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/2.991, allocations: 2.906 kB / 1.269 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/2.991, allocations: 3.938 kB / 1.269 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/2.991, allocations: 4 kB / 1.269 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007634/2.998, allocations: 2.51 MB / 1.271 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/2.998, allocations: 1.219 kB / 1.271 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006333/2.999, allocations: 106 kB / 1.271 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/2.999, allocations: 1.594 kB / 1.271 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/2.999, allocations: 10.62 kB / 1.271 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003327/3, allocations: 0.5846 MB / 1.272 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/3, allocations: 2.469 kB / 1.272 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001018/3.001, allocations: 462.2 kB / 1.272 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001358/3.002, allocations: 0.8704 MB / 1.273 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/3.002, allocations: 142.8 kB / 1.273 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.73e-05/3.002, allocations: 2.062 kB / 1.273 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/3.003, allocations: 16.97 kB / 1.273 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/3.003, allocations: 7.406 kB / 1.273 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/3.003, allocations: 12.62 kB / 1.273 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002313/3.003, allocations: 166.8 kB / 1.273 GB, free: 111 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003998/3.007, allocations: 0.5285 MB / 1.274 GB, free: 110.9 MB / 0.4948 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004655/3.012, allocations: 0.9386 MB / 1.275 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001384/3.013, allocations: 297.3 kB / 1.275 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/3.013, allocations: 1 kB / 1.275 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004722/3.014, allocations: 126.6 kB / 1.275 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006204/3.014, allocations: 27.23 kB / 1.275 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5501/3.564, allocations: 159.8 MB / 1.431 GB, free: 175.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005514/3.565, allocations: 0.8049 MB / 1.432 GB, free: 174.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.733e-06/3.565, allocations: 0 / 1.432 GB, free: 174.9 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat