Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [: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/Buildings 1.6.0+build.1/package.mo): time 0.4697/0.4697, allocations: 94.74 MB / 102 MB, free: 10.34 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001028/0.001028, allocations: 171.4 kB / 125.3 MB, free: 11.97 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.138/1.138, allocations: 170.5 MB / 319 MB, free: 9.352 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00163/0.00163, allocations: 110.5 kB / 381 MB, free: 18.13 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.937e-06/8.966e-06, allocations: 4.219 kB / 448.6 MB, free: 2.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.139, allocations: 61.52 MB / 0.4981 GB, free: 4.48 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.608/9.747, allocations: 5.245 GB / 5.744 GB, free: 31.66 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/9.747, allocations: 83.95 kB / 5.744 GB, free: 31.58 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.4098/10.16, allocations: 78.71 MB / 5.821 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.486e-05/10.16, allocations: 2.156 kB / 5.821 GB, free: 151.1 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007861/10.16, allocations: 0.5566 MB / 5.821 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/10.16, allocations: 10.34 kB / 5.821 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/10.16, allocations: 35.78 kB / 5.821 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/10.16, allocations: 204.2 kB / 5.821 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/10.16, allocations: 2.469 kB / 5.821 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/10.16, allocations: 8.156 kB / 5.821 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001673/10.16, allocations: 61.72 kB / 5.821 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/10.16, allocations: 102.7 kB / 5.821 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/10.16, allocations: 1.531 kB / 5.821 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/10.16, allocations: 0 / 5.821 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/10.16, allocations: 5.188 kB / 5.821 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/10.16, allocations: 344.4 kB / 5.822 GB, free: 150 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/10.16, allocations: 70.86 kB / 5.822 GB, free: 150 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.302e-05/10.16, allocations: 66.48 kB / 5.822 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/10.16, allocations: 4.969 kB / 5.822 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/10.16, allocations: 35.88 kB / 5.822 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 3.406e-06/10.16, allocations: 0 / 5.822 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0003238/10.16, allocations: 149.2 kB / 5.822 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/10.16, allocations: 112.2 kB / 5.822 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/10.16, allocations: 125.8 kB / 5.822 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/10.16, allocations: 28.3 kB / 5.822 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/10.16, allocations: 101 kB / 5.822 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/10.16, allocations: 27.38 kB / 5.822 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/10.16, allocations: 2.375 kB / 5.822 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.505e-05/10.16, allocations: 321.4 kB / 5.823 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/10.16, allocations: 65.73 kB / 5.823 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.647e-05/10.16, allocations: 60.64 kB / 5.823 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/10.16, allocations: 85.98 kB / 5.823 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/10.16, allocations: 0 / 5.823 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003301/10.16, allocations: 209 kB / 5.823 GB, free: 149 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/10.16, allocations: 9.438 kB / 5.823 GB, free: 149 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/10.16, allocations: 0 / 5.823 GB, free: 149 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/10.16, allocations: 1.062 kB / 5.823 GB, free: 149 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/10.16, allocations: 20.03 kB / 5.823 GB, free: 149 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/10.16, allocations: 0 / 5.823 GB, free: 149 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/10.16, allocations: 35.88 kB / 5.823 GB, free: 149 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/10.16, allocations: 5.188 kB / 5.823 GB, free: 149 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (masFra1.i_w,masFra1.i_nw,masFra1.found,masFra2.i_w,masFra2.i_nw,masFra2.found) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 4 * 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.0001406/10.16, allocations: 171.5 kB / 5.823 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/10.16, allocations: 8.156 kB / 5.823 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/10.16, allocations: 10.97 kB / 5.823 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/10.16, allocations: 0 / 5.823 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/10.16, allocations: 5.406 kB / 5.823 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/10.16, allocations: 3.938 kB / 5.823 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/10.16, allocations: 183.9 kB / 5.824 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/10.16, allocations: 0 / 5.824 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/10.16, allocations: 23.95 kB / 5.824 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/10.16, allocations: 3.469 kB / 5.824 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/10.16, allocations: 2.375 kB / 5.824 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/10.16, allocations: 0 / 5.824 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/10.16, allocations: 1.156 kB / 5.824 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002979/10.16, allocations: 279.7 kB / 5.824 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/10.16, allocations: 83.39 kB / 5.824 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/10.16, allocations: 5.281 kB / 5.824 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/10.16, allocations: 19.08 kB / 5.824 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/10.16, allocations: 13.97 kB / 5.824 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/10.16, allocations: 2.656 kB / 5.824 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.798e-05/10.16, allocations: 104.2 kB / 5.824 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004652/10.16, allocations: 93.59 kB / 5.824 GB, free: 148.2 MB / 0.5261 GB 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 (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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.001219/10.16, allocations: 0.7832 MB / 5.825 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003275/10.17, allocations: 275.3 kB / 5.825 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/10.17, allocations: 0 / 5.825 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/10.17, allocations: 148.7 kB / 5.825 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/10.17, allocations: 25.06 kB / 5.825 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000493/10.17, allocations: 233 kB / 5.826 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/10.17, allocations: 0.717 MB / 5.826 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/10.17, allocations: 1 kB / 5.826 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.011/10.18, allocations: 5.883 MB / 5.832 GB, free: 146 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)