Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Annex60.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX") [: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.321/0.321, allocations: 54.39 MB / 61.67 MB, free: 10.96 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.001252/0.001252, allocations: 184 kB / 75.37 MB, free: 1.543 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.671/1.671, allocations: 194.2 MB / 283.2 MB, free: 3.34 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.00174/0.00174, allocations: 120.2 kB / 341.3 MB, free: 9.219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.308e-06/4.338e-06, allocations: 4 kB / 404.9 MB, free: 27.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1539, allocations: 57.65 MB / 462.6 MB, free: 1.781 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3979/0.552, allocations: 86.64 MB / 0.5364 GB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.5523, allocations: 73.92 kB / 0.5364 GB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.008279/0.5606, allocations: 2.158 MB / 0.5385 GB, free: 8.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.5606, allocations: 0 / 0.5385 GB, free: 8.434 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00054/0.5612, allocations: 412.8 kB / 0.5389 GB, free: 7.992 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.5612, allocations: 19.89 kB / 0.539 GB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.5613, allocations: 7.906 kB / 0.539 GB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.5615, allocations: 163 kB / 0.5391 GB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.5615, allocations: 7.984 kB / 0.5391 GB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.5615, allocations: 3.906 kB / 0.5391 GB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.672e-05/0.5616, allocations: 18.56 kB / 0.5391 GB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.338e-05/0.5617, allocations: 52.31 kB / 0.5392 GB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.5617, allocations: 0 / 0.5392 GB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.5617, allocations: 4 kB / 0.5392 GB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.5617, allocations: 0 / 0.5392 GB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.5621, allocations: 254.8 kB / 0.5394 GB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.143e-05/0.5622, allocations: 29.08 kB / 0.5395 GB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.5623, allocations: 12.11 kB / 0.5395 GB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/0.5624, allocations: 97.19 kB / 0.5396 GB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.5625, allocations: 37.94 kB / 0.5396 GB, free: 7.215 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.5625, allocations: 0 / 0.5396 GB, free: 7.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004318/0.5629, allocations: 76.23 kB / 0.5397 GB, free: 7.141 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.563, allocations: 58.91 kB / 0.5397 GB, free: 7.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.092e-05/0.5631, allocations: 97.19 kB / 0.5398 GB, free: 6.977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.5631, allocations: 25.7 kB / 0.5399 GB, free: 6.945 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.5631, allocations: 92.03 kB / 0.5399 GB, free: 6.852 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.5632, allocations: 15.03 kB / 0.54 GB, free: 6.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.5632, allocations: 0 / 0.54 GB, free: 6.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5633, allocations: 310.8 kB / 0.5403 GB, free: 6.527 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.5633, allocations: 10.12 kB / 0.5403 GB, free: 6.523 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.229e-05/0.5634, allocations: 13.16 kB / 0.5403 GB, free: 6.516 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.5636, allocations: 35.19 kB / 0.5403 GB, free: 6.484 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5636, allocations: 0 / 0.5403 GB, free: 6.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002732/0.5639, allocations: 91.55 kB / 0.5404 GB, free: 6.398 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.5639, allocations: 5.875 kB / 0.5404 GB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5639, allocations: 0 / 0.5404 GB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.5639, allocations: 0 / 0.5404 GB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.5641, allocations: 31.17 kB / 0.5404 GB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.5641, allocations: 0 / 0.5404 GB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.232e-05/0.5642, allocations: 19.98 kB / 0.5405 GB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.5642, allocations: 2.875 kB / 0.5405 GB, free: 6.348 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 (3): * Single equations (assignments): 3 * 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.117e-05/0.5643, allocations: 107.3 kB / 0.5406 GB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.5643, allocations: 11.98 kB / 0.5406 GB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003438/0.5647, allocations: 92.92 kB / 0.5407 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5647, allocations: 0 / 0.5407 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5647, allocations: 0 / 0.5407 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5647, allocations: 0 / 0.5407 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.5649, allocations: 148.5 kB / 0.5408 GB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5649, allocations: 3.938 kB / 0.5408 GB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.565, allocations: 23.98 kB / 0.5408 GB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.565, allocations: 4.234 kB / 0.5408 GB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.565, allocations: 0 / 0.5408 GB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.565, allocations: 7.891 kB / 0.5408 GB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.565, allocations: 0 / 0.5408 GB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003283/0.5654, allocations: 178.1 kB / 0.541 GB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.5654, allocations: 81.11 kB / 0.5411 GB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.5654, allocations: 7.984 kB / 0.5411 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.5656, allocations: 16.55 kB / 0.5411 GB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.5656, allocations: 1.188 kB / 0.5411 GB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.5656, allocations: 8 kB / 0.5411 GB, free: 5.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.371e-05/0.5657, allocations: 94.61 kB / 0.5412 GB, free: 5.527 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002897/0.566, allocations: 32.81 kB / 0.5412 GB, free: 5.496 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 (3): * Single equations (assignments): 3 * 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.0002498/0.5663, allocations: 136.3 kB / 0.5414 GB, free: 5.348 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.5664, allocations: 22.88 kB / 0.5414 GB, free: 5.332 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5664, allocations: 0 / 0.5414 GB, free: 5.332 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.507e-05/0.5664, allocations: 11.75 kB / 0.5414 GB, free: 5.324 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.5666, allocations: 14.22 kB / 0.5414 GB, free: 5.312 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.5669, allocations: 81.38 kB / 0.5415 GB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/0.5673, allocations: 0.6993 MB / 0.5422 GB, free: 4.492 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5673, allocations: 0 / 0.5422 GB, free: 4.492 MB / 378.7 MB Notification: Performance of Templates: time 0.003356/0.5706, allocations: 1.184 MB / 0.5433 GB, free: 3.324 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)