Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [: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.002179/0.002179, allocations: 176.8 kB / 7.461 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6171/0.6171, allocations: 133.5 MB / 141.4 MB, free: 15.73 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.12/1.12, allocations: 221.3 MB / 395 MB, free: 10.16 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.0008693/0.0008692, allocations: 98.84 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.689e-06/4.719e-06, allocations: 0 / 0.5528 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1031, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4763/0.5794, allocations: 318.8 MB / 0.9445 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.5797, allocations: 77.89 kB / 0.9446 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.03659/0.6163, allocations: 16.4 MB / 0.9606 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.6163, allocations: 8 kB / 0.9606 GB, free: 13.86 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.0006174/0.617, allocations: 481 kB / 0.9611 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.617, allocations: 8.031 kB / 0.9611 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/0.6189, allocations: 197.7 kB / 0.9613 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.6191, allocations: 209.4 kB / 0.9615 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.6192, allocations: 11.94 kB / 0.9615 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.6192, allocations: 8 kB / 0.9615 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003651/0.6196, allocations: 197.7 kB / 0.9617 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.6199, allocations: 240.7 kB / 0.9619 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.6199, allocations: 0 / 0.9619 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.6199, allocations: 4 kB / 0.9619 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.62, allocations: 7.938 kB / 0.9619 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.6214, allocations: 1.351 MB / 0.9632 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.6217, allocations: 146.5 kB / 0.9634 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.985e-05/0.6218, allocations: 60.61 kB / 0.9634 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.6218, allocations: 7.984 kB / 0.9634 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.6219, allocations: 36.75 kB / 0.9635 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.224e-06/0.6219, allocations: 7.938 kB / 0.9635 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0002935/0.6222, allocations: 137.2 kB / 0.9636 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.6222, allocations: 59.39 kB / 0.9637 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.098e-05/0.6223, allocations: 129.1 kB / 0.9638 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.6223, allocations: 25.7 kB / 0.9638 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.6224, allocations: 118.5 kB / 0.9639 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.6224, allocations: 68.91 kB / 0.964 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.365e-05/0.6225, allocations: 0 / 0.964 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.19e-05/0.6225, allocations: 325.5 kB / 0.9643 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.698e-05/0.6226, allocations: 52.03 kB / 0.9643 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.6227, allocations: 118 kB / 0.9645 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.822e-05/0.6229, allocations: 56.78 kB / 0.9645 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.6229, allocations: 0 / 0.9645 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002936/0.6232, allocations: 198.8 kB / 0.9647 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.6232, allocations: 6.188 kB / 0.9647 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.6232, allocations: 4 kB / 0.9647 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.6232, allocations: 4 kB / 0.9647 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.6236, allocations: 63.89 kB / 0.9648 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.6236, allocations: 7.938 kB / 0.9648 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.6238, allocations: 27.86 kB / 0.9648 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.6239, allocations: 15.31 kB / 0.9648 GB, free: 9.582 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 8.188e-05/0.624, allocations: 112.9 kB / 0.9649 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.624, allocations: 15.81 kB / 0.9649 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.6244, allocations: 183.3 kB / 0.9651 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.6244, allocations: 4 kB / 0.9651 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.6244, allocations: 4 kB / 0.9651 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6244, allocations: 0 / 0.9651 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.6247, allocations: 213.5 kB / 0.9653 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6247, allocations: 0 / 0.9653 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.625, allocations: 59.08 kB / 0.9654 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.625, allocations: 4 kB / 0.9654 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.625, allocations: 0 / 0.9654 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.625, allocations: 0 / 0.9654 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6251, allocations: 0 / 0.9654 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002614/0.6253, allocations: 257.9 kB / 0.9656 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/0.6254, allocations: 112 kB / 0.9657 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.6255, allocations: 4 kB / 0.9657 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.6258, allocations: 19.97 kB / 0.9658 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.6258, allocations: 14.55 kB / 0.9658 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.6258, allocations: 7.312 kB / 0.9658 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.152e-05/0.6259, allocations: 98.83 kB / 0.9659 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003274/0.6262, allocations: 63.47 kB / 0.9659 GB, free: 8.465 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 (20): * Single equations (assignments): 20 * 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.0001838/0.6264, allocations: 136.5 kB / 0.9661 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.6266, allocations: 136.9 kB / 0.9662 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6266, allocations: 0 / 0.9662 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.624e-05/0.6267, allocations: 70.98 kB / 0.9663 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.627, allocations: 34.91 kB / 0.9663 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006312/0.6277, allocations: 205.2 kB / 0.9665 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/0.6281, allocations: 0.7553 MB / 0.9672 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.6281, allocations: 0 / 0.9672 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of Templates: time 0.006102/0.6342, allocations: 3.375 MB / 0.9705 GB, free: 3.82 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)