Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.004103/0.004103, allocations: 179 kB / 7.46 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7354/0.7354, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.568/1.568, 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.001292/0.001292, allocations: 90.59 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4766/0.478, allocations: 88.42 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.6647, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.142/1.807, allocations: 379.7 MB / 1.004 GB, free: 255.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/1.807, allocations: 70.84 kB / 1.004 GB, free: 255.4 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.03695/1.844, allocations: 19.07 MB / 1.023 GB, free: 236.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/1.844, allocations: 15.94 kB / 1.023 GB, free: 236.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/1.844, allocations: 0 / 1.023 GB, free: 236.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.28e-05/1.844, allocations: 171 kB / 1.023 GB, free: 236 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/1.844, allocations: 0 / 1.023 GB, free: 236 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/1.844, allocations: 7.906 kB / 1.023 GB, free: 236 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.475e-05/1.844, allocations: 15.98 kB / 1.023 GB, free: 235.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.213e-05/1.844, allocations: 53.66 kB / 1.023 GB, free: 235.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/1.844, allocations: 0 / 1.023 GB, free: 235.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/1.844, allocations: 0 / 1.023 GB, free: 235.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/1.844, allocations: 4 kB / 1.023 GB, free: 235.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/1.845, allocations: 142.1 kB / 1.023 GB, free: 235.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.939e-05/1.845, allocations: 41.64 kB / 1.023 GB, free: 235.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.745e-05/1.845, allocations: 17.09 kB / 1.023 GB, free: 235.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005693/1.845, allocations: 0.6101 MB / 1.024 GB, free: 234.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/1.845, allocations: 34.56 kB / 1.024 GB, free: 234.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/1.845, allocations: 0 / 1.024 GB, free: 234.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004528/1.846, allocations: 270.3 kB / 1.024 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.793e-05/1.846, allocations: 51.41 kB / 1.024 GB, free: 234.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.51e-05/1.846, allocations: 108.8 kB / 1.024 GB, free: 234.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/1.846, allocations: 25.7 kB / 1.024 GB, free: 234.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.471e-05/1.846, allocations: 80.14 kB / 1.024 GB, free: 234.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/1.846, allocations: 35.55 kB / 1.024 GB, free: 234.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/1.846, allocations: 0 / 1.024 GB, free: 234.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.67e-05/1.846, allocations: 314.8 kB / 1.025 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.01e-05/1.846, allocations: 12 kB / 1.025 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/1.846, allocations: 49.14 kB / 1.025 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.838e-05/1.846, allocations: 19.94 kB / 1.025 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/1.846, allocations: 0 / 1.025 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001001/1.846, allocations: 81.52 kB / 1.025 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/1.846, allocations: 4 kB / 1.025 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.846, allocations: 4 kB / 1.025 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/1.846, allocations: 0 / 1.025 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.363e-05/1.846, allocations: 27.92 kB / 1.025 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/1.846, allocations: 8.312 kB / 1.025 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.8e-05/1.846, allocations: 4 kB / 1.025 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-06/1.846, allocations: 4 kB / 1.025 GB, free: 233.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 5.211e-05/1.846, allocations: 112.8 kB / 1.025 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/1.846, allocations: 4 kB / 1.025 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/1.847, allocations: 8.062 kB / 1.025 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/1.847, allocations: 0 / 1.025 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.847, allocations: 0 / 1.025 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.847, allocations: 7.891 kB / 1.025 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/1.847, allocations: 154.3 kB / 1.025 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.847, allocations: 0 / 1.025 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.747e-05/1.847, allocations: 15.98 kB / 1.025 GB, free: 233.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/1.847, allocations: 0 / 1.025 GB, free: 233.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/1.847, allocations: 4 kB / 1.025 GB, free: 233.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.847, allocations: 0 / 1.025 GB, free: 233.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.847, allocations: 0 / 1.025 GB, free: 233.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000126/1.847, allocations: 163.5 kB / 1.025 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001689/1.847, allocations: 0.5506 MB / 1.026 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/1.847, allocations: 89 kB / 1.026 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/1.847, allocations: 0 / 1.026 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/1.847, allocations: 4 kB / 1.026 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/1.847, allocations: 0 / 1.026 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/1.847, allocations: 4 kB / 1.026 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.822e-05/1.847, allocations: 87.2 kB / 1.026 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008508/1.848, allocations: 23.91 kB / 1.026 GB, free: 232.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0002152/1.848, allocations: 142.1 kB / 1.026 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.368e-05/1.849, allocations: 43.91 kB / 1.026 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.849, allocations: 4.25 kB / 1.026 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.571e-05/1.849, allocations: 15.94 kB / 1.026 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/1.849, allocations: 8.391 kB / 1.026 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/1.849, allocations: 258.2 kB / 1.027 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/1.849, allocations: 0.7113 MB / 1.027 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/1.849, allocations: 0 / 1.027 GB, free: 231.1 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)