Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_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.004315/0.004316, allocations: 183 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7556/0.7556, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.613/1.613, allocations: 221.3 MB / 395 MB, free: 10.21 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.001015/0.001015, allocations: 102.8 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4511/0.4521, allocations: 88.41 MB / 0.5529 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.6124, allocations: 82.3 MB / 0.6333 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.121/1.733, allocations: 379.7 MB / 1.004 GB, free: 255.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/1.734, allocations: 65.47 kB / 1.004 GB, free: 255.1 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.03561/1.769, allocations: 19.08 MB / 1.023 GB, free: 235.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/1.769, allocations: 8 kB / 1.023 GB, free: 235.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/1.769, allocations: 4 kB / 1.023 GB, free: 235.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.648e-05/1.769, allocations: 163 kB / 1.023 GB, free: 235.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/1.769, allocations: 3.938 kB / 1.023 GB, free: 235.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/1.769, allocations: 7.906 kB / 1.023 GB, free: 235.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.31e-05/1.769, allocations: 23.97 kB / 1.023 GB, free: 235.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.636e-05/1.77, allocations: 45.67 kB / 1.023 GB, free: 235.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/1.77, allocations: 0 / 1.023 GB, free: 235.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/1.77, allocations: 4 kB / 1.023 GB, free: 235.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.77, allocations: 4 kB / 1.023 GB, free: 235.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/1.77, allocations: 142.1 kB / 1.023 GB, free: 235.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.564e-05/1.77, allocations: 37.7 kB / 1.023 GB, free: 235.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/1.77, allocations: 16.86 kB / 1.023 GB, free: 235.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005516/1.77, allocations: 0.6104 MB / 1.024 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/1.77, allocations: 34.56 kB / 1.024 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/1.77, allocations: 4 kB / 1.024 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004972/1.771, allocations: 266.5 kB / 1.024 GB, free: 234.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/1.771, allocations: 55.41 kB / 1.024 GB, free: 234.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.203e-05/1.771, allocations: 96.89 kB / 1.024 GB, free: 234.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/1.771, allocations: 25.7 kB / 1.024 GB, free: 234.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/1.771, allocations: 88.14 kB / 1.024 GB, free: 234 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/1.771, allocations: 23.56 kB / 1.024 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/1.771, allocations: 0 / 1.024 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.916e-05/1.771, allocations: 322.8 kB / 1.025 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.051e-05/1.771, allocations: 8 kB / 1.025 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.59e-05/1.771, allocations: 49.16 kB / 1.025 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.311e-05/1.771, allocations: 23.92 kB / 1.025 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/1.771, allocations: 0 / 1.025 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001039/1.771, allocations: 89.73 kB / 1.025 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/1.771, allocations: 4 kB / 1.025 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/1.771, allocations: 0 / 1.025 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/1.771, allocations: 4 kB / 1.025 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/1.772, allocations: 28.05 kB / 1.025 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/1.772, allocations: 0 / 1.025 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/1.772, allocations: 7.938 kB / 1.025 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/1.772, allocations: 4.078 kB / 1.025 GB, free: 233.4 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.927e-05/1.772, allocations: 104.9 kB / 1.025 GB, free: 233.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/1.772, allocations: 4 kB / 1.025 GB, free: 233.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/1.772, allocations: 8.062 kB / 1.025 GB, free: 233.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/1.772, allocations: 0 / 1.025 GB, free: 233.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/1.772, allocations: 0 / 1.025 GB, free: 233.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/1.772, allocations: 11.91 kB / 1.025 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/1.772, allocations: 146.2 kB / 1.025 GB, free: 233.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.772, allocations: 3.938 kB / 1.025 GB, free: 233.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.9e-05/1.772, allocations: 19.98 kB / 1.025 GB, free: 233 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.772, allocations: 0 / 1.025 GB, free: 233 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/1.772, allocations: 0 / 1.025 GB, free: 233 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.772, allocations: 3.984 kB / 1.025 GB, free: 233 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/1.772, allocations: 0 / 1.025 GB, free: 233 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001235/1.772, allocations: 175.5 kB / 1.025 GB, free: 232.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001704/1.772, allocations: 0.5467 MB / 1.026 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/1.772, allocations: 81.02 kB / 1.026 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/1.772, allocations: 4 kB / 1.026 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/1.773, allocations: 3.984 kB / 1.026 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/1.773, allocations: 4 kB / 1.026 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/1.773, allocations: 4 kB / 1.026 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.917e-05/1.773, allocations: 83.28 kB / 1.026 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008734/1.774, allocations: 23.89 kB / 1.026 GB, free: 232.1 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.000194/1.774, allocations: 139.8 kB / 1.026 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.475e-05/1.774, allocations: 40.11 kB / 1.026 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.774, allocations: 4.062 kB / 1.026 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.546e-05/1.774, allocations: 15.94 kB / 1.026 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/1.774, allocations: 4 kB / 1.026 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000433/1.774, allocations: 266.2 kB / 1.027 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/1.775, allocations: 0.7035 MB / 1.027 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/1.775, allocations: 0 / 1.027 GB, free: 230.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)