Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.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.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir",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.001014/0.001014, allocations: 174.9 kB / 8.518 MB, free: 1.832 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.168/1.168, allocations: 221.4 MB / 230.3 MB, free: 7.605 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.0009675/0.0009674, allocations: 82.12 kB / 281.2 MB, free: 5.43 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.1587/0.1587, allocations: 44.15 MB / 376.1 MB, free: 3.195 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1712/0.3299, allocations: 68.02 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09194/0.4218, allocations: 61.91 MB / 0.4942 GB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.866/5.288, allocations: 3.511 GB / 4.005 GB, free: 64.63 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001779/5.288, allocations: 75.5 kB / 4.005 GB, free: 64.56 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.3509/5.639, allocations: 88.86 MB / 4.092 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/5.639, allocations: 13.44 kB / 4.092 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/5.639, allocations: 43.08 kB / 4.092 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/5.639, allocations: 243.9 kB / 4.092 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.883e-05/5.64, allocations: 122 kB / 4.092 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/5.64, allocations: 15.62 kB / 4.092 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001011/5.641, allocations: 1.2 MB / 4.093 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/5.641, allocations: 0.519 MB / 4.094 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/5.641, allocations: 0 / 4.094 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/5.641, allocations: 3.938 kB / 4.094 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/5.641, allocations: 29.39 kB / 4.094 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003932/5.645, allocations: 4.545 MB / 4.098 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/5.645, allocations: 120.8 kB / 4.098 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.989e-05/5.646, allocations: 49.91 kB / 4.099 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002425/5.646, allocations: 359 kB / 4.099 GB, free: 142 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/5.646, allocations: 30.88 kB / 4.099 GB, free: 142 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.954e-06/5.646, allocations: 0 / 4.099 GB, free: 142 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.001133/5.647, allocations: 312.1 kB / 4.099 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/5.647, allocations: 59.09 kB / 4.099 GB, free: 141.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/5.647, allocations: 255.3 kB / 4.1 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/5.647, allocations: 25.7 kB / 4.1 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/5.647, allocations: 263.2 kB / 4.1 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/5.647, allocations: 71.2 kB / 4.1 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/5.647, allocations: 0 / 4.1 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.253e-05/5.647, allocations: 335.8 kB / 4.1 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/5.648, allocations: 94.44 kB / 4.1 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/5.648, allocations: 394.8 kB / 4.101 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/5.649, allocations: 326.5 kB / 4.101 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/5.649, allocations: 7.594 kB / 4.101 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001758/5.651, allocations: 0.6391 MB / 4.102 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/5.651, allocations: 6.438 kB / 4.102 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/5.651, allocations: 13.09 kB / 4.102 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/5.651, allocations: 15.12 kB / 4.102 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007006/5.652, allocations: 206.5 kB / 4.102 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004364/5.652, allocations: 1.211 MB / 4.103 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004757/5.653, allocations: 17.73 kB / 4.103 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.924e-05/5.653, allocations: 70.23 kB / 4.103 GB, free: 139.5 MB / 0.5105 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: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * Array equations: 1 * 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.0001398/5.653, allocations: 133.9 kB / 4.103 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.269e-05/5.653, allocations: 27.44 kB / 4.103 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005292/5.653, allocations: 232.6 kB / 4.103 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/5.653, allocations: 7.375 kB / 4.103 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/5.653, allocations: 0 / 4.103 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/5.653, allocations: 3.844 kB / 4.103 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006069/5.654, allocations: 0.5107 MB / 4.104 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/5.654, allocations: 1.938 kB / 4.104 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/5.654, allocations: 72.3 kB / 4.104 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/5.654, allocations: 3.125 kB / 4.104 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/5.654, allocations: 6.938 kB / 4.104 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003885/5.655, allocations: 1.191 MB / 4.105 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/5.655, allocations: 0 / 4.105 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003436/5.655, allocations: 289 kB / 4.105 GB, free: 137.7 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004909/5.656, allocations: 0.7053 MB / 4.106 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/5.656, allocations: 164 kB / 4.106 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.183e-05/5.656, allocations: 0 / 4.106 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/5.656, allocations: 17.77 kB / 4.106 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/5.656, allocations: 10.64 kB / 4.106 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/5.656, allocations: 17.58 kB / 4.106 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001283/5.656, allocations: 175.6 kB / 4.107 GB, free: 137 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002484/5.659, allocations: 0.658 MB / 4.107 GB, free: 136.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 1 * 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.002422/5.661, allocations: 1.298 MB / 4.108 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006789/5.662, allocations: 315.1 kB / 4.109 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/5.662, allocations: 3.938 kB / 4.109 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003419/5.662, allocations: 103.4 kB / 4.109 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/5.663, allocations: 47.97 kB / 4.109 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1953/5.858, allocations: 50.97 MB / 4.159 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006377/5.859, allocations: 0.8932 MB / 4.16 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of SimCode: time 4.71e-07/5.859, allocations: 3.938 kB / 4.16 GB, free: 107.8 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1)