Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_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.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Annex60.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_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.309/0.309, allocations: 54.39 MB / 61.67 MB, free: 11.16 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.001228/0.001229, allocations: 188.5 kB / 75.37 MB, free: 1.465 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.619/1.619, 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.001526/0.001526, allocations: 116 kB / 341.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.564e-06, allocations: 3.938 kB / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1419, allocations: 57.64 MB / 462.6 MB, free: 1.992 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.5149, allocations: 111.8 MB / 0.561 GB, free: 1.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.5153, allocations: 72.27 kB / 0.561 GB, free: 1.141 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.005775/0.5211, allocations: 1.802 MB / 0.5628 GB, free: 15.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.5211, allocations: 4 kB / 0.5628 GB, free: 15.62 MB / 410.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.0004556/0.5216, allocations: 375.6 kB / 0.5632 GB, free: 15.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.5216, allocations: 12.72 kB / 0.5632 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.5217, allocations: 7.906 kB / 0.5632 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.5218, allocations: 171 kB / 0.5633 GB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.5218, allocations: 0 / 0.5633 GB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.5219, allocations: 11.84 kB / 0.5633 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001046/0.522, allocations: 23.86 kB / 0.5634 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.5221, allocations: 43.69 kB / 0.5634 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.5221, allocations: 4 kB / 0.5634 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.5221, allocations: 0 / 0.5634 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.5221, allocations: 4 kB / 0.5634 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.5226, allocations: 259.9 kB / 0.5637 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.221e-05/0.5227, allocations: 27.95 kB / 0.5637 GB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/0.5227, allocations: 20.73 kB / 0.5637 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001799/0.5229, allocations: 89.88 kB / 0.5638 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.523, allocations: 31.25 kB / 0.5638 GB, free: 14.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.974e-06/0.523, allocations: 0 / 0.5638 GB, free: 14.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002544/0.5232, allocations: 56.72 kB / 0.5639 GB, free: 14.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.5233, allocations: 51.41 kB / 0.5639 GB, free: 14.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.401e-05/0.5234, allocations: 110.5 kB / 0.564 GB, free: 14.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.5234, allocations: 25.7 kB / 0.5641 GB, free: 14.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.5235, allocations: 90.55 kB / 0.5642 GB, free: 14.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.5235, allocations: 8.594 kB / 0.5642 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.5235, allocations: 0 / 0.5642 GB, free: 14.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5237, allocations: 321.5 kB / 0.5645 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.808e-05/0.5237, allocations: 7.25 kB / 0.5645 GB, free: 13.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.5237, allocations: 6.75 kB / 0.5645 GB, free: 13.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.032e-05/0.5238, allocations: 11 kB / 0.5645 GB, free: 13.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5238, allocations: 8 kB / 0.5645 GB, free: 13.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001328/0.5239, allocations: 59.95 kB / 0.5646 GB, free: 13.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.524, allocations: 4 kB / 0.5646 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.524, allocations: 0 / 0.5646 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.524, allocations: 0 / 0.5646 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.5242, allocations: 24.55 kB / 0.5646 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.5242, allocations: 0 / 0.5646 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.5243, allocations: 23.97 kB / 0.5646 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.5243, allocations: 3.938 kB / 0.5646 GB, free: 13.63 MB / 410.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 8.007e-05/0.5244, allocations: 111 kB / 0.5647 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.5244, allocations: 4 kB / 0.5647 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.5246, allocations: 69.62 kB / 0.5648 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5246, allocations: 0 / 0.5648 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5246, allocations: 3.938 kB / 0.5648 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5247, allocations: 0 / 0.5648 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.5248, allocations: 144.9 kB / 0.5649 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.5248, allocations: 0 / 0.5649 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.525, allocations: 32.59 kB / 0.565 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.525, allocations: 4 kB / 0.565 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.525, allocations: 0 / 0.565 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.525, allocations: 3.906 kB / 0.565 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.525, allocations: 0 / 0.565 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002053/0.5252, allocations: 155.5 kB / 0.5651 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.5253, allocations: 86.36 kB / 0.5652 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.5253, allocations: 3.984 kB / 0.5652 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.5255, allocations: 15.98 kB / 0.5652 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.5255, allocations: 0.875 kB / 0.5652 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.5255, allocations: 8 kB / 0.5652 GB, free: 12.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.913e-05/0.5256, allocations: 90.42 kB / 0.5653 GB, free: 12.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000232/0.5258, allocations: 12.56 kB / 0.5653 GB, free: 12.84 MB / 410.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.0002593/0.5261, allocations: 148.4 kB / 0.5655 GB, free: 12.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.5262, allocations: 24 kB / 0.5655 GB, free: 12.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5262, allocations: 4 kB / 0.5655 GB, free: 12.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.278e-05/0.5263, allocations: 11.38 kB / 0.5655 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.5265, allocations: 15.3 kB / 0.5655 GB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.5268, allocations: 70.95 kB / 0.5656 GB, free: 12.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/0.5271, allocations: 0.7023 MB / 0.5663 GB, free: 11.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5271, allocations: 0 / 0.5663 GB, free: 11.84 MB / 410.7 MB Notification: Performance of Templates: time 0.003444/0.5306, allocations: 1.034 MB / 0.5673 GB, free: 10.82 MB / 410.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)