Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressure.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.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Annex60.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressure") [: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.27/0.27, 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.001223/0.001223, allocations: 184.6 kB / 75.37 MB, free: 1.504 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.659/1.659, allocations: 194.2 MB / 283.2 MB, free: 3.539 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.001488/0.001488, allocations: 110.9 kB / 341.3 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.552e-06/6.762e-06, allocations: 0 / 404.9 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1303, allocations: 57.65 MB / 462.6 MB, free: 1.969 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4031/0.5335, allocations: 86.08 MB / 0.5358 GB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.5338, allocations: 72.33 kB / 0.5359 GB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.006366/0.5402, allocations: 1.63 MB / 0.5375 GB, free: 9.527 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.5403, allocations: 2.812 kB / 0.5375 GB, free: 9.527 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004002/0.5407, allocations: 365.3 kB / 0.5378 GB, free: 9.129 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.5407, allocations: 15.95 kB / 0.5378 GB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003939/0.5411, allocations: 27.95 kB / 0.5379 GB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.5413, allocations: 167.1 kB / 0.538 GB, free: 8.883 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.5413, allocations: 4.656 kB / 0.538 GB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.5413, allocations: 0 / 0.538 GB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001064/0.5414, allocations: 23.55 kB / 0.5381 GB, free: 8.863 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.725e-05/0.5415, allocations: 48.05 kB / 0.5381 GB, free: 8.816 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.5416, allocations: 4 kB / 0.5381 GB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.5416, allocations: 0 / 0.5381 GB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.5416, allocations: 0 / 0.5381 GB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.5421, allocations: 252 kB / 0.5383 GB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.594e-05/0.5422, allocations: 33.89 kB / 0.5384 GB, free: 8.504 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.5422, allocations: 21.09 kB / 0.5384 GB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.5422, allocations: 4 kB / 0.5384 GB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.5423, allocations: 31.31 kB / 0.5384 GB, free: 8.441 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.5423, allocations: 0 / 0.5384 GB, free: 8.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002087/0.5425, allocations: 53.06 kB / 0.5385 GB, free: 8.391 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.5425, allocations: 55.34 kB / 0.5385 GB, free: 8.324 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.563e-05/0.5426, allocations: 99.95 kB / 0.5386 GB, free: 8.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.5426, allocations: 26.2 kB / 0.5387 GB, free: 8.191 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.5427, allocations: 84.86 kB / 0.5387 GB, free: 8.105 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.5427, allocations: 9.219 kB / 0.5387 GB, free: 8.098 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.5427, allocations: 0 / 0.5387 GB, free: 8.098 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5429, allocations: 312.1 kB / 0.539 GB, free: 7.785 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.799e-05/0.5429, allocations: 7.938 kB / 0.539 GB, free: 7.781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.84e-05/0.5429, allocations: 11.61 kB / 0.5391 GB, free: 7.773 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.079e-05/0.543, allocations: 13.41 kB / 0.5391 GB, free: 7.766 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.543, allocations: 0 / 0.5391 GB, free: 7.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001097/0.5431, allocations: 61.05 kB / 0.5391 GB, free: 7.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.5431, allocations: 4 kB / 0.5391 GB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.5431, allocations: 0 / 0.5391 GB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.5431, allocations: 0 / 0.5391 GB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.5433, allocations: 15.98 kB / 0.5391 GB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5433, allocations: 3.906 kB / 0.5392 GB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.5434, allocations: 16.02 kB / 0.5392 GB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.5435, allocations: 4.922 kB / 0.5392 GB, free: 7.664 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 7.419e-05/0.5435, allocations: 108.9 kB / 0.5393 GB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.5436, allocations: 0 / 0.5393 GB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.049e-05/0.5437, allocations: 19.91 kB / 0.5393 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5437, allocations: 0 / 0.5393 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5437, allocations: 0.625 kB / 0.5393 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.5437, allocations: 4 kB / 0.5393 GB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.5439, allocations: 144 kB / 0.5394 GB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5439, allocations: 3.938 kB / 0.5394 GB, free: 7.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.544, allocations: 19.11 kB / 0.5395 GB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.544, allocations: 4.188 kB / 0.5395 GB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.544, allocations: 3.984 kB / 0.5395 GB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.544, allocations: 3.938 kB / 0.5395 GB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.544, allocations: 3.906 kB / 0.5395 GB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001557/0.5442, allocations: 149.2 kB / 0.5396 GB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.5443, allocations: 88.95 kB / 0.5397 GB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.5443, allocations: 3.984 kB / 0.5397 GB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.5444, allocations: 12.03 kB / 0.5397 GB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.5445, allocations: 4.484 kB / 0.5397 GB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.5445, allocations: 0.625 kB / 0.5397 GB, free: 7.047 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.989e-05/0.5445, allocations: 86.78 kB / 0.5398 GB, free: 6.965 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002392/0.5448, allocations: 16.75 kB / 0.5398 GB, free: 6.949 MB / 378.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 (2): * Single equations (assignments): 2 * 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.000186/0.545, allocations: 115.2 kB / 0.5399 GB, free: 6.828 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001189/0.5451, allocations: 23.86 kB / 0.54 GB, free: 6.812 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5451, allocations: 0 / 0.54 GB, free: 6.812 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.938e-05/0.5452, allocations: 16.3 kB / 0.54 GB, free: 6.801 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.5453, allocations: 6.938 kB / 0.54 GB, free: 6.797 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.5457, allocations: 77.52 kB / 0.54 GB, free: 6.703 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003398/0.5461, allocations: 0.7006 MB / 0.5407 GB, free: 5.977 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5461, allocations: 0 / 0.5407 GB, free: 5.977 MB / 378.7 MB Notification: Performance of Templates: time 0.003151/0.5492, allocations: 0.9205 MB / 0.5416 GB, free: 5.066 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)