Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",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.003194/0.003193, allocations: 179.5 kB / 7.454 MB, free: 2.523 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6912/0.6912, allocations: 133.5 MB / 141.4 MB, free: 15.76 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009737/0.0009736, allocations: 81.73 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4618/0.4628, allocations: 88.42 MB / 0.5529 GB, free: 88.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.647, allocations: 82.29 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.18/1.827, allocations: 399.7 MB / 1.024 GB, free: 235.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/1.827, allocations: 67.97 kB / 1.024 GB, free: 235.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.05604/1.883, allocations: 26.05 MB / 1.049 GB, free: 209 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.569e-05/1.883, allocations: 12 kB / 1.049 GB, free: 209 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/1.884, allocations: 27.73 kB / 1.049 GB, free: 209 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/1.884, allocations: 210.8 kB / 1.049 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/1.884, allocations: 8 kB / 1.049 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/1.884, allocations: 12 kB / 1.049 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004434/1.884, allocations: 408.2 kB / 1.05 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/1.885, allocations: 224.6 kB / 1.05 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/1.885, allocations: 0 / 1.05 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/1.885, allocations: 0 / 1.05 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/1.885, allocations: 4 kB / 1.05 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008493/1.886, allocations: 0.9964 MB / 1.051 GB, free: 207 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/1.886, allocations: 147.3 kB / 1.051 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.704e-05/1.886, allocations: 52.89 kB / 1.051 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/1.887, allocations: 1.926 MB / 1.053 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/1.887, allocations: 34.56 kB / 1.053 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.173e-06/1.887, allocations: 0 / 1.053 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0005301/1.888, allocations: 140.3 kB / 1.053 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/1.888, allocations: 59.41 kB / 1.053 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/1.888, allocations: 140.3 kB / 1.053 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/1.888, allocations: 25.7 kB / 1.053 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/1.888, allocations: 139.8 kB / 1.054 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/1.888, allocations: 55.2 kB / 1.054 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/1.888, allocations: 0 / 1.054 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.184e-05/1.888, allocations: 322.8 kB / 1.054 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.808e-05/1.888, allocations: 24 kB / 1.054 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.98e-05/1.888, allocations: 137.7 kB / 1.054 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/1.889, allocations: 75.88 kB / 1.054 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.889, allocations: 4 kB / 1.054 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004382/1.889, allocations: 209.1 kB / 1.054 GB, free: 203 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/1.889, allocations: 11.92 kB / 1.054 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/1.889, allocations: 4.469 kB / 1.054 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/1.889, allocations: 8 kB / 1.054 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/1.889, allocations: 55.92 kB / 1.054 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/1.889, allocations: 7.984 kB / 1.054 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/1.889, allocations: 23.75 kB / 1.054 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/1.889, allocations: 16 kB / 1.055 GB, free: 202.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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 8.29e-05/1.889, allocations: 115 kB / 1.055 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/1.89, allocations: 15.75 kB / 1.055 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004988/1.89, allocations: 188.6 kB / 1.055 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/1.89, allocations: 7.906 kB / 1.055 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/1.89, allocations: 4 kB / 1.055 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.89, allocations: 3.984 kB / 1.055 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/1.89, allocations: 186 kB / 1.055 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.89, allocations: 0 / 1.055 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/1.89, allocations: 27.98 kB / 1.055 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.89, allocations: 3.984 kB / 1.055 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/1.89, allocations: 0 / 1.055 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.89, allocations: 4 kB / 1.055 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.89, allocations: 0 / 1.055 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003917/1.891, allocations: 243.2 kB / 1.055 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000472/1.891, allocations: 0.6091 MB / 1.056 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/1.891, allocations: 116.8 kB / 1.056 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/1.891, allocations: 0 / 1.056 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/1.892, allocations: 19.98 kB / 1.056 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.373e-05/1.892, allocations: 15.92 kB / 1.056 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/1.892, allocations: 8 kB / 1.056 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.832e-05/1.892, allocations: 108.3 kB / 1.056 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00112/1.893, allocations: 95.83 kB / 1.056 GB, free: 201.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0004191/1.893, allocations: 223 kB / 1.056 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002778/1.894, allocations: 106.9 kB / 1.057 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.894, allocations: 0.9375 kB / 1.057 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.227e-05/1.894, allocations: 43.92 kB / 1.057 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/1.894, allocations: 34.62 kB / 1.057 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005338/1.895, allocations: 156.5 kB / 1.057 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/1.895, allocations: 0.7512 MB / 1.057 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/1.895, allocations: 4 kB / 1.057 GB, free: 199.7 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)