Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2682/0.2682, allocations: 54.4 MB / 61.68 MB, free: 11.17 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.001164/0.001164, allocations: 183.8 kB / 75.38 MB, free: 1.547 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.49/1.49, allocations: 194.2 MB / 283.2 MB, free: 3.504 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.001733/0.001733, allocations: 115.4 kB / 341.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.167e-06/9.428e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1477, allocations: 57.65 MB / 462.6 MB, free: 1.977 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9671/1.115, allocations: 292.4 MB / 0.7373 GB, free: 97.83 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/1.115, allocations: 83.31 kB / 0.7374 GB, free: 97.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.03749/1.153, allocations: 15.78 MB / 0.7528 GB, free: 84.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.388e-05/1.153, allocations: 0 / 0.7528 GB, free: 84.76 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001035/1.154, allocations: 490 kB / 0.7533 GB, free: 84.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/1.154, allocations: 11.97 kB / 0.7533 GB, free: 84.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/1.156, allocations: 192.6 kB / 0.7535 GB, free: 84.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/1.156, allocations: 216.6 kB / 0.7537 GB, free: 83.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/1.157, allocations: 8 kB / 0.7537 GB, free: 83.81 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.96e-05/1.157, allocations: 8 kB / 0.7537 GB, free: 83.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004661/1.157, allocations: 206.1 kB / 0.7539 GB, free: 83.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/1.157, allocations: 228.6 kB / 0.7541 GB, free: 83.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/1.157, allocations: 0 / 0.7541 GB, free: 83.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/1.158, allocations: 0 / 0.7541 GB, free: 83.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/1.158, allocations: 8 kB / 0.7541 GB, free: 83.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/1.159, allocations: 1.355 MB / 0.7555 GB, free: 82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003293/1.16, allocations: 134.9 kB / 0.7556 GB, free: 81.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/1.16, allocations: 64.75 kB / 0.7557 GB, free: 81.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/1.16, allocations: 4 kB / 0.7557 GB, free: 81.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/1.16, allocations: 38.5 kB / 0.7557 GB, free: 81.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 2.594e-06/1.16, allocations: 0 / 0.7557 GB, free: 81.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003544/1.16, allocations: 140.5 kB / 0.7558 GB, free: 81.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/1.16, allocations: 51.41 kB / 0.7559 GB, free: 81.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/1.16, allocations: 130.2 kB / 0.756 GB, free: 81.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/1.16, allocations: 25.7 kB / 0.756 GB, free: 81.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/1.16, allocations: 128 kB / 0.7561 GB, free: 81.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/1.16, allocations: 59.11 kB / 0.7562 GB, free: 81.19 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/1.161, allocations: 0 / 0.7562 GB, free: 81.19 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.396e-05/1.161, allocations: 322.8 kB / 0.7565 GB, free: 80.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.607e-05/1.161, allocations: 44.45 kB / 0.7566 GB, free: 80.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/1.161, allocations: 130 kB / 0.7567 GB, free: 80.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/1.161, allocations: 51.91 kB / 0.7567 GB, free: 80.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/1.161, allocations: 4 kB / 0.7567 GB, free: 80.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003172/1.161, allocations: 198.8 kB / 0.7569 GB, free: 80.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/1.161, allocations: 4 kB / 0.7569 GB, free: 80.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.161, allocations: 4 kB / 0.7569 GB, free: 80.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/1.161, allocations: 7.984 kB / 0.7569 GB, free: 80.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/1.162, allocations: 80.19 kB / 0.757 GB, free: 80.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/1.162, allocations: 3.938 kB / 0.757 GB, free: 80.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/1.162, allocations: 31.67 kB / 0.757 GB, free: 80.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/1.162, allocations: 8 kB / 0.7571 GB, free: 80.27 MB / 490.7 MB 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 0.0001013/1.162, allocations: 108.9 kB / 0.7572 GB, free: 80.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/1.162, allocations: 15.81 kB / 0.7572 GB, free: 80.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/1.163, allocations: 190.1 kB / 0.7574 GB, free: 79.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.163, allocations: 4 kB / 0.7574 GB, free: 79.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.163, allocations: 3.984 kB / 0.7574 GB, free: 79.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/1.163, allocations: 0 / 0.7574 GB, free: 79.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/1.163, allocations: 213.9 kB / 0.7576 GB, free: 79.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.163, allocations: 4 kB / 0.7576 GB, free: 79.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/1.163, allocations: 47.97 kB / 0.7576 GB, free: 79.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/1.163, allocations: 3.906 kB / 0.7576 GB, free: 79.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/1.163, allocations: 7.984 kB / 0.7576 GB, free: 79.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.163, allocations: 0 / 0.7576 GB, free: 79.63 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.163, allocations: 0 / 0.7576 GB, free: 79.63 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000284/1.164, allocations: 251.2 kB / 0.7579 GB, free: 79.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.815e-05/1.164, allocations: 108.9 kB / 0.758 GB, free: 79.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/1.164, allocations: 0 / 0.758 GB, free: 79.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/1.164, allocations: 19.89 kB / 0.758 GB, free: 79.22 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/1.164, allocations: 11.97 kB / 0.758 GB, free: 79.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/1.164, allocations: 12 kB / 0.758 GB, free: 79.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.14e-05/1.164, allocations: 97.45 kB / 0.7581 GB, free: 79.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004309/1.165, allocations: 56.12 kB / 0.7582 GB, free: 79.05 MB / 490.7 MB 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.0002337/1.165, allocations: 131.2 kB / 0.7583 GB, free: 78.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002901/1.165, allocations: 131.9 kB / 0.7584 GB, free: 78.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/1.165, allocations: 0 / 0.7584 GB, free: 78.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.639e-05/1.165, allocations: 76.48 kB / 0.7585 GB, free: 78.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/1.166, allocations: 35.88 kB / 0.7585 GB, free: 78.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007441/1.166, allocations: 211.8 kB / 0.7587 GB, free: 78.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003043/1.167, allocations: 0.7515 MB / 0.7595 GB, free: 77.67 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/1.167, allocations: 0 / 0.7595 GB, free: 77.67 MB / 490.7 MB Notification: Performance of Templates: time 0.007233/1.174, allocations: 3.274 MB / 0.7627 GB, free: 74.4 MB / 490.7 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)