Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2784/0.2784, allocations: 54.39 MB / 61.67 MB, free: 11.19 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001368/0.001368, allocations: 192.7 kB / 75.37 MB, free: 1.484 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.545/1.545, allocations: 194.2 MB / 283.2 MB, free: 3.508 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001772/0.001772, allocations: 110.9 kB / 341.3 MB, free: 9.391 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.237e-06/9.278e-06, allocations: 4 kB / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1514, allocations: 57.64 MB / 462.6 MB, free: 1.992 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9756/1.127, allocations: 298.1 MB / 0.7428 GB, free: 92.46 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/1.127, allocations: 78.89 kB / 0.7429 GB, free: 92.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01622/1.144, allocations: 7.708 MB / 0.7504 GB, free: 86.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.487e-06/1.144, allocations: 0 / 0.7504 GB, free: 86.34 MB / 490.7 MB 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.0003226/1.144, allocations: 349.7 kB / 0.7508 GB, free: 85.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.144, allocations: 15.97 kB / 0.7508 GB, free: 85.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002069/1.144, allocations: 15.36 kB / 0.7508 GB, free: 85.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.825e-05/1.144, allocations: 159.1 kB / 0.751 GB, free: 85.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/1.144, allocations: 0 / 0.751 GB, free: 85.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/1.144, allocations: 11.91 kB / 0.751 GB, free: 85.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.172e-05/1.145, allocations: 7.938 kB / 0.751 GB, free: 85.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.585e-05/1.145, allocations: 70.73 kB / 0.751 GB, free: 85.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/1.145, allocations: 3.984 kB / 0.7511 GB, free: 85.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/1.145, allocations: 4 kB / 0.7511 GB, free: 85.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/1.145, allocations: 0.9375 kB / 0.7511 GB, free: 85.63 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/1.145, allocations: 434.5 kB / 0.7515 GB, free: 85.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/1.145, allocations: 58.55 kB / 0.7515 GB, free: 85.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/1.145, allocations: 26.52 kB / 0.7516 GB, free: 85.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/1.145, allocations: 7.938 kB / 0.7516 GB, free: 85.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/1.145, allocations: 30.56 kB / 0.7516 GB, free: 85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/1.145, allocations: 0 / 0.7516 GB, free: 85 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005503/1.146, allocations: 281.1 kB / 0.7519 GB, free: 84.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/1.146, allocations: 106.9 kB / 0.752 GB, free: 84.56 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.046e-05/1.146, allocations: 100.2 kB / 0.7521 GB, free: 84.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/1.146, allocations: 29.64 kB / 0.7521 GB, free: 84.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/1.146, allocations: 80.14 kB / 0.7522 GB, free: 84.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/1.146, allocations: 34.48 kB / 0.7522 GB, free: 84.31 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/1.146, allocations: 0 / 0.7522 GB, free: 84.31 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.027e-05/1.146, allocations: 314.8 kB / 0.7525 GB, free: 84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/1.146, allocations: 11.88 kB / 0.7525 GB, free: 83.99 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-05/1.146, allocations: 56.33 kB / 0.7526 GB, free: 83.92 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.888e-05/1.146, allocations: 11.56 kB / 0.7526 GB, free: 83.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/1.146, allocations: 0 / 0.7526 GB, free: 83.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001/1.146, allocations: 88.42 kB / 0.7527 GB, free: 83.83 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/1.146, allocations: 12.03 kB / 0.7527 GB, free: 83.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.146, allocations: 0 / 0.7527 GB, free: 83.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/1.146, allocations: 4 kB / 0.7527 GB, free: 83.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/1.146, allocations: 19.98 kB / 0.7527 GB, free: 83.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/1.147, allocations: 0 / 0.7527 GB, free: 83.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.772e-05/1.147, allocations: 4 kB / 0.7527 GB, free: 83.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/1.147, allocations: 4 kB / 0.7527 GB, free: 83.79 MB / 490.7 MB 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 4.827e-05/1.147, allocations: 108.8 kB / 0.7528 GB, free: 83.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.074e-05/1.147, allocations: 4 kB / 0.7528 GB, free: 83.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/1.147, allocations: 15.7 kB / 0.7528 GB, free: 83.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/1.147, allocations: 7.906 kB / 0.7528 GB, free: 83.65 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.147, allocations: 0 / 0.7528 GB, free: 83.65 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/1.147, allocations: 0 / 0.7528 GB, free: 83.65 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/1.147, allocations: 150.1 kB / 0.753 GB, free: 83.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.147, allocations: 3.984 kB / 0.753 GB, free: 83.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.467e-05/1.147, allocations: 16 kB / 0.753 GB, free: 83.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/1.147, allocations: 0 / 0.753 GB, free: 83.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-06/1.147, allocations: 0 / 0.753 GB, free: 83.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/1.147, allocations: 7.984 kB / 0.753 GB, free: 83.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.147, allocations: 7.938 kB / 0.753 GB, free: 83.44 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001748/1.147, allocations: 347.2 kB / 0.7533 GB, free: 83.08 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/1.147, allocations: 81.11 kB / 0.7534 GB, free: 82.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/1.147, allocations: 3.984 kB / 0.7534 GB, free: 82.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/1.148, allocations: 11.91 kB / 0.7534 GB, free: 82.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/1.148, allocations: 3.562 kB / 0.7534 GB, free: 82.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/1.148, allocations: 4 kB / 0.7534 GB, free: 82.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.904e-05/1.148, allocations: 79.28 kB / 0.7535 GB, free: 82.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003017/1.148, allocations: 15.98 kB / 0.7535 GB, free: 82.87 MB / 490.7 MB 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.0001359/1.148, allocations: 103.2 kB / 0.7536 GB, free: 82.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.015e-05/1.148, allocations: 39.38 kB / 0.7537 GB, free: 82.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.148, allocations: 3.938 kB / 0.7537 GB, free: 82.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.864e-05/1.148, allocations: 15.25 kB / 0.7537 GB, free: 82.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/1.148, allocations: 7.984 kB / 0.7537 GB, free: 82.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/1.149, allocations: 283.9 kB / 0.754 GB, free: 82.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/1.149, allocations: 0.6997 MB / 0.7546 GB, free: 81.68 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/1.149, allocations: 4 kB / 0.7546 GB, free: 81.68 MB / 490.7 MB Notification: Performance of Templates: time 0.002492/1.152, allocations: 0.6631 MB / 0.7553 GB, free: 81.03 MB / 490.7 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)