Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",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.001281/0.001281, allocations: 186.1 kB / 7.808 MB, free: 2.488 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.531/1.531, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0009922/0.0009919, allocations: 94.28 kB / 261.4 MB, free: 13.54 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.2282/0.2282, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2559/0.4842, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.8832, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.86/14.75, allocations: 6.605 GB / 7.07 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/14.75, allocations: 87.31 kB / 7.07 GB, free: 158.6 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 1.021/15.77, allocations: 248.1 MB / 7.313 GB, free: 86.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/15.77, allocations: 10.59 kB / 7.313 GB, free: 86.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003496/15.77, allocations: 34.67 kB / 7.313 GB, free: 86.44 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005492/15.77, allocations: 248.2 kB / 7.313 GB, free: 86.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/15.77, allocations: 7.812 kB / 7.313 GB, free: 86.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.59e-05/15.77, allocations: 19.66 kB / 7.313 GB, free: 86.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001411/15.77, allocations: 0.8599 MB / 7.314 GB, free: 86.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008561/15.77, allocations: 468.4 kB / 7.314 GB, free: 86.13 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/15.77, allocations: 0 / 7.314 GB, free: 86.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.32e-05/15.77, allocations: 3.656 kB / 7.314 GB, free: 86.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.964e-05/15.77, allocations: 25.12 kB / 7.314 GB, free: 86.13 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00494/15.78, allocations: 3.915 MB / 7.318 GB, free: 82.76 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/15.78, allocations: 104.5 kB / 7.318 GB, free: 82.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.055e-05/15.78, allocations: 39.25 kB / 7.318 GB, free: 82.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01748/15.79, allocations: 14.83 MB / 7.333 GB, free: 67.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003279/15.8, allocations: 116 kB / 7.333 GB, free: 67.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=17): time 4.779e-06/15.8, allocations: 0 / 7.333 GB, free: 67.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.001937/15.8, allocations: 323.1 kB / 7.333 GB, free: 67.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/15.8, allocations: 51.41 kB / 7.333 GB, free: 67.42 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/15.8, allocations: 230.2 kB / 7.333 GB, free: 67.31 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/15.8, allocations: 25.7 kB / 7.333 GB, free: 67.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/15.8, allocations: 250.5 kB / 7.334 GB, free: 67.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/15.8, allocations: 63.28 kB / 7.334 GB, free: 67.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/15.8, allocations: 0 / 7.334 GB, free: 67.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.04e-05/15.8, allocations: 337.2 kB / 7.334 GB, free: 66.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/15.8, allocations: 77.2 kB / 7.334 GB, free: 66.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/15.8, allocations: 346.7 kB / 7.334 GB, free: 66.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/15.8, allocations: 246.2 kB / 7.335 GB, free: 66.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/15.8, allocations: 3.062 kB / 7.335 GB, free: 66.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001851/15.8, allocations: 0.5219 MB / 7.335 GB, free: 66.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/15.8, allocations: 7.969 kB / 7.335 GB, free: 66.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/15.8, allocations: 11.59 kB / 7.335 GB, free: 66.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/15.8, allocations: 18.06 kB / 7.335 GB, free: 66.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006906/15.8, allocations: 178.1 kB / 7.335 GB, free: 66.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006653/15.8, allocations: 1.21 MB / 7.336 GB, free: 65.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/15.8, allocations: 14.94 kB / 7.336 GB, free: 65.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/15.8, allocations: 54.31 kB / 7.337 GB, free: 65.16 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: 42 * 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 (66): * Single equations (assignments): 64 * 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.0002067/15.8, allocations: 124 kB / 7.337 GB, free: 65.05 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/15.8, allocations: 32.75 kB / 7.337 GB, free: 65.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006822/15.8, allocations: 248.4 kB / 7.337 GB, free: 64.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/15.8, allocations: 3.969 kB / 7.337 GB, free: 64.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/15.8, allocations: 0 / 7.337 GB, free: 64.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/15.8, allocations: 3.656 kB / 7.337 GB, free: 64.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007634/15.81, allocations: 0.4944 MB / 7.337 GB, free: 64.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/15.81, allocations: 3.594 kB / 7.337 GB, free: 64.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/15.81, allocations: 71.5 kB / 7.337 GB, free: 64.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/15.81, allocations: 7.719 kB / 7.337 GB, free: 64.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/15.81, allocations: 11.62 kB / 7.337 GB, free: 64.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004963/15.81, allocations: 1.189 MB / 7.339 GB, free: 63.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/15.81, allocations: 0 / 7.339 GB, free: 63.52 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005547/15.81, allocations: 280 kB / 7.339 GB, free: 63.36 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001042/15.81, allocations: 0.775 MB / 7.34 GB, free: 62.81 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/15.81, allocations: 130.8 kB / 7.34 GB, free: 62.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.972e-05/15.81, allocations: 3.969 kB / 7.34 GB, free: 62.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/15.81, allocations: 15.11 kB / 7.34 GB, free: 62.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/15.81, allocations: 15.36 kB / 7.34 GB, free: 62.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/15.81, allocations: 22.02 kB / 7.34 GB, free: 62.69 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001287/15.81, allocations: 155.2 kB / 7.34 GB, free: 62.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01178/15.82, allocations: 2.254 MB / 7.342 GB, free: 62.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.01884/15.84, allocations: 2.907 MB / 7.345 GB, free: 61.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001292/15.84, allocations: 283.4 kB / 7.345 GB, free: 61.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/15.84, allocations: 0 / 7.345 GB, free: 61.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004806/15.84, allocations: 98.97 kB / 7.345 GB, free: 61.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/15.84, allocations: 40.77 kB / 7.345 GB, free: 61.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8789/16.72, allocations: 228.7 MB / 7.569 GB, free: 94.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006765/16.72, allocations: 0.8396 MB / 7.57 GB, free: 93.25 MB / 0.4948 GB Notification: Performance of SimCode: time 2.294e-06/16.72, allocations: 0 / 7.57 GB, free: 93.25 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1)