Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [: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 8.1.4-maint.8.1.x/package.mo): time 1.493/1.493, allocations: 289.8 MB / 297.1 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 181.3 kB / 366.3 MB, free: 2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.207/1.207, allocations: 205.1 MB / 0.6256 GB, free: 5.832 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008549/0.0008548, allocations: 87.72 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.352e-06/6.382e-06, allocations: 0 / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5972/0.5972, allocations: 116.3 MB / 0.9726 GB, free: 69 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.824/4.422, allocations: 2.074 GB / 3.047 GB, free: 2.094 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/4.422, allocations: 83.95 kB / 3.047 GB, free: 2.012 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.5507/4.973, allocations: 89.95 MB / 3.135 GB, free: 299.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.488e-05/4.973, allocations: 4 kB / 3.135 GB, free: 299.7 MB / 0.948 GB 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.0007549/4.973, allocations: 0.4904 MB / 3.135 GB, free: 299.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/4.973, allocations: 12.03 kB / 3.135 GB, free: 299.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007889/4.974, allocations: 79.7 kB / 3.135 GB, free: 299.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/4.975, allocations: 230.9 kB / 3.136 GB, free: 298.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.78e-05/4.975, allocations: 33.94 kB / 3.136 GB, free: 298.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/4.975, allocations: 12 kB / 3.136 GB, free: 298.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002359/4.975, allocations: 116.6 kB / 3.136 GB, free: 298.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/4.975, allocations: 214.3 kB / 3.136 GB, free: 298.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/4.975, allocations: 3.938 kB / 3.136 GB, free: 298.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/4.975, allocations: 3.984 kB / 3.136 GB, free: 298.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/4.975, allocations: 11.94 kB / 3.136 GB, free: 298.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/4.977, allocations: 1.146 MB / 3.137 GB, free: 297.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/4.977, allocations: 183.7 kB / 3.137 GB, free: 297 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.607e-05/4.977, allocations: 56.84 kB / 3.137 GB, free: 297 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/4.977, allocations: 0 / 3.137 GB, free: 297 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/4.977, allocations: 34.56 kB / 3.137 GB, free: 296.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/4.977, allocations: 3.938 kB / 3.137 GB, free: 296.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.00127/4.979, allocations: 271.2 kB / 3.138 GB, free: 296.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/4.979, allocations: 51.41 kB / 3.138 GB, free: 296.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/4.979, allocations: 147.7 kB / 3.138 GB, free: 296.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/4.979, allocations: 25.7 kB / 3.138 GB, free: 296.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/4.979, allocations: 139.9 kB / 3.138 GB, free: 296.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/4.979, allocations: 39.39 kB / 3.138 GB, free: 296.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.455e-05/4.979, allocations: 0 / 3.138 GB, free: 296.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.905e-05/4.979, allocations: 322.8 kB / 3.138 GB, free: 295.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.193e-05/4.979, allocations: 56.36 kB / 3.138 GB, free: 295.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/4.979, allocations: 109.1 kB / 3.138 GB, free: 295.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/4.979, allocations: 72.73 kB / 3.138 GB, free: 295.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/4.979, allocations: 0 / 3.138 GB, free: 295.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001196/4.981, allocations: 316.6 kB / 3.139 GB, free: 295.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/4.981, allocations: 4 kB / 3.139 GB, free: 295.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/4.981, allocations: 7.906 kB / 3.139 GB, free: 295.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/4.982, allocations: 165.6 kB / 3.139 GB, free: 295.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/4.982, allocations: 39.91 kB / 3.139 GB, free: 295.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00303/4.985, allocations: 2.906 MB / 3.142 GB, free: 291.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003502/4.986, allocations: 31.86 kB / 3.142 GB, free: 291.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/4.986, allocations: 8.062 kB / 3.142 GB, free: 291.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 8.33e-05/4.986, allocations: 105 kB / 3.142 GB, free: 291.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/4.986, allocations: 15.81 kB / 3.142 GB, free: 291.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/4.987, allocations: 342.4 kB / 3.142 GB, free: 291.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/4.987, allocations: 0 / 3.142 GB, free: 291.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/4.987, allocations: 4 kB / 3.142 GB, free: 291.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/4.987, allocations: 8 kB / 3.142 GB, free: 291.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/4.987, allocations: 234 kB / 3.143 GB, free: 291.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/4.987, allocations: 0 / 3.143 GB, free: 291.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/4.987, allocations: 23.98 kB / 3.143 GB, free: 291.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009166/4.988, allocations: 169.5 kB / 3.143 GB, free: 291 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/4.988, allocations: 3.906 kB / 3.143 GB, free: 291 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002705/4.991, allocations: 2.949 MB / 3.146 GB, free: 287.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/4.991, allocations: 0 / 3.146 GB, free: 287.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001031/4.992, allocations: 392.8 kB / 3.146 GB, free: 287.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/4.992, allocations: 112.8 kB / 3.146 GB, free: 287.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/4.992, allocations: 0 / 3.146 GB, free: 287.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/4.992, allocations: 11.98 kB / 3.146 GB, free: 287.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/4.992, allocations: 15.98 kB / 3.146 GB, free: 287.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/4.993, allocations: 7.984 kB / 3.146 GB, free: 287.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.05e-05/4.993, allocations: 120 kB / 3.146 GB, free: 287.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005189/4.993, allocations: 111.9 kB / 3.146 GB, free: 287 MB / 0.948 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007566/4.994, allocations: 0.8229 MB / 3.147 GB, free: 286.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006876/4.995, allocations: 375.7 kB / 3.147 GB, free: 285.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/4.995, allocations: 0 / 3.147 GB, free: 285.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004722/4.995, allocations: 307.5 kB / 3.148 GB, free: 285.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/4.995, allocations: 34.2 kB / 3.148 GB, free: 285.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000787/4.996, allocations: 315.7 kB / 3.148 GB, free: 285.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/4.996, allocations: 0.7649 MB / 3.149 GB, free: 284.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/4.996, allocations: 0 / 3.149 GB, free: 284.3 MB / 0.948 GB Notification: Performance of Templates: time 0.01172/5.008, allocations: 8.914 MB / 3.158 GB, free: 275.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)