Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [: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.002722/0.002722, allocations: 179.5 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.608/0.608, 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.129/1.129, allocations: 221.3 MB / 395 MB, free: 10.25 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.0008519/0.0008519, allocations: 96.92 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.775e-06/7.924e-06, allocations: 2.938 kB / 0.5528 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1171, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4774/0.5945, allocations: 323.9 MB / 0.9495 GB, free: 6.52 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.5948, allocations: 78.27 kB / 0.9496 GB, free: 6.477 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.01733/0.6121, allocations: 7.933 MB / 0.9573 GB, free: 212 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.6122, allocations: 0 / 0.9573 GB, free: 212 kB / 0.6667 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.0002953/0.6125, allocations: 346.2 kB / 0.9577 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.6125, allocations: 12.03 kB / 0.9577 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.6127, allocations: 15.89 kB / 0.9577 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.566e-05/0.6128, allocations: 163.1 kB / 0.9579 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.6128, allocations: 3.938 kB / 0.9579 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.6129, allocations: 7.906 kB / 0.9579 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.436e-05/0.6129, allocations: 7.984 kB / 0.9579 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.324e-05/0.613, allocations: 71.94 kB / 0.9579 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.613, allocations: 0 / 0.9579 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.613, allocations: 0 / 0.9579 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.6131, allocations: 4 kB / 0.9579 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.6135, allocations: 431.2 kB / 0.9584 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.962e-05/0.6136, allocations: 62.67 kB / 0.9584 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.671e-05/0.6136, allocations: 22.7 kB / 0.9584 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.637e-06/0.6137, allocations: 4 kB / 0.9584 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.6137, allocations: 38.12 kB / 0.9585 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 2.515e-06/0.6137, allocations: 0 / 0.9585 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0005017/0.6142, allocations: 290.1 kB / 0.9588 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.6143, allocations: 106.8 kB / 0.9589 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.37e-05/0.6143, allocations: 89 kB / 0.9589 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.6143, allocations: 25.7 kB / 0.959 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.6144, allocations: 87.8 kB / 0.9591 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.6144, allocations: 31.42 kB / 0.9591 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.6144, allocations: 0 / 0.9591 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.161e-05/0.6145, allocations: 314.8 kB / 0.9594 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.6145, allocations: 11.88 kB / 0.9594 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.176e-05/0.6146, allocations: 56.58 kB / 0.9594 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.086e-05/0.6146, allocations: 15.92 kB / 0.9595 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.6146, allocations: 0 / 0.9595 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001092/0.6147, allocations: 77.41 kB / 0.9595 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.6148, allocations: 11.94 kB / 0.9595 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.6148, allocations: 4.062 kB / 0.9596 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.6148, allocations: 4 kB / 0.9596 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.6149, allocations: 23.8 kB / 0.9596 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.6149, allocations: 0 / 0.9596 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.671e-05/0.6149, allocations: 4 kB / 0.9596 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.6149, allocations: 4 kB / 0.9596 GB, free: 13.66 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 6.253e-05/0.615, allocations: 113 kB / 0.9597 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.248e-05/0.6151, allocations: 7.984 kB / 0.9597 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.6151, allocations: 7.625 kB / 0.9597 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.6151, allocations: 4 kB / 0.9597 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.6151, allocations: 0 / 0.9597 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.6151, allocations: 3.906 kB / 0.9597 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.6154, allocations: 154 kB / 0.9599 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6154, allocations: 0 / 0.9599 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.964e-05/0.6155, allocations: 16 kB / 0.9599 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.6155, allocations: 3.938 kB / 0.9599 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.6156, allocations: 4 kB / 0.9599 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.6156, allocations: 11.92 kB / 0.9599 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6156, allocations: 0 / 0.9599 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001832/0.6158, allocations: 340.7 kB / 0.9602 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/0.6158, allocations: 93.03 kB / 0.9603 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.6158, allocations: 0 / 0.9603 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.616, allocations: 4 kB / 0.9603 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.6161, allocations: 3.906 kB / 0.9603 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.6161, allocations: 4 kB / 0.9603 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.824e-05/0.6161, allocations: 83.27 kB / 0.9604 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002828/0.6164, allocations: 8 kB / 0.9604 GB, free: 12.74 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0001194/0.6165, allocations: 115.6 kB / 0.9605 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.267e-05/0.6166, allocations: 35.88 kB / 0.9606 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6166, allocations: 3.938 kB / 0.9606 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.163e-05/0.6166, allocations: 19.61 kB / 0.9606 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.6169, allocations: 4 kB / 0.9606 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004575/0.6173, allocations: 272.2 kB / 0.9608 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.6176, allocations: 0.7075 MB / 0.9615 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/0.6176, allocations: 0 / 0.9615 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of Templates: time 0.002229/0.6198, allocations: 0.6509 MB / 0.9622 GB, free: 10.91 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)