Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.269/2.269, allocations: 253.1 MB / 260.4 MB, free: 7.543 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001642/0.001642, allocations: 181.2 kB / 319.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.4 MB / 0.5704 GB, free: 15.13 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001272/0.001271, allocations: 84.27 kB / 0.6746 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.057e-06/9.187e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2112, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.648/5.859, allocations: 2.205 GB / 3.093 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003489/5.86, allocations: 86.86 kB / 3.094 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.823/10.68, allocations: 1.006 GB / 4.1 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003417/10.68, allocations: 47.45 kB / 4.1 GB, free: 125.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.01026/10.69, allocations: 2.065 MB / 4.102 GB, free: 123 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.907e-05/10.69, allocations: 8.031 kB / 4.102 GB, free: 123 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/10.7, allocations: 0.6249 MB / 4.102 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009067/10.71, allocations: 1.478 MB / 4.104 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001103/10.71, allocations: 124.4 kB / 4.104 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008187/10.72, allocations: 76 kB / 4.104 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005686/10.72, allocations: 1.02 MB / 4.105 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006711/10.73, allocations: 1.237 MB / 4.106 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.66e-05/10.73, allocations: 0 / 4.106 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003765/10.73, allocations: 4 kB / 4.106 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.116e-05/10.73, allocations: 50.2 kB / 4.106 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02582/10.75, allocations: 6.139 MB / 4.112 GB, free: 112 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/10.76, allocations: 0.5254 MB / 4.113 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001982/10.76, allocations: 450.8 kB / 4.113 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001558/10.76, allocations: 473.5 kB / 4.114 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002147/10.76, allocations: 0.5075 MB / 4.114 GB, free: 110 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=79): time 8.195e-06/10.76, allocations: 0 / 4.114 GB, free: 110 MB / 0.8698 GB Notification: Performance of matching and sorting (n=79): time 0.00821/10.77, allocations: 1.096 MB / 4.115 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/10.77, allocations: 200.6 kB / 4.115 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003498/10.78, allocations: 0.9376 MB / 4.116 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003946/10.78, allocations: 34.44 kB / 4.116 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008464/10.78, allocations: 0.5126 MB / 4.117 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006531/10.78, allocations: 256.2 kB / 4.117 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/10.78, allocations: 0 / 4.117 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001351/10.78, allocations: 341.9 kB / 4.118 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/10.78, allocations: 329.9 kB / 4.118 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/10.78, allocations: 0.5759 MB / 4.118 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/10.78, allocations: 469.1 kB / 4.119 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.02e-05/10.78, allocations: 3.938 kB / 4.119 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.006088/10.79, allocations: 1.114 MB / 4.12 GB, free: 104 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005261/10.79, allocations: 1.697 MB / 4.122 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/10.79, allocations: 4 kB / 4.122 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003826/10.79, allocations: 48.78 kB / 4.122 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002835/10.79, allocations: 206.3 kB / 4.122 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008931/10.79, allocations: 0.6098 MB / 4.122 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004416/10.8, allocations: 168.5 kB / 4.123 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004894/10.8, allocations: 36.06 kB / 4.123 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/10.8, allocations: 4 kB / 4.123 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004756/10.8, allocations: 0.918 MB / 4.124 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/10.8, allocations: 4 kB / 4.124 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003615/10.8, allocations: 51.48 kB / 4.124 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00275/10.81, allocations: 206.4 kB / 4.124 GB, free: 99.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002595/10.81, allocations: 1.463 MB / 4.125 GB, free: 98.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004308/10.81, allocations: 155.6 kB / 4.125 GB, free: 98.26 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004199/10.82, allocations: 36.05 kB / 4.125 GB, free: 98.23 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006761/10.82, allocations: 172.7 kB / 4.126 GB, free: 98.05 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007635/10.82, allocations: 154.1 kB / 4.126 GB, free: 97.89 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005485/10.82, allocations: 1.052 MB / 4.127 GB, free: 96.83 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/10.82, allocations: 8 kB / 4.127 GB, free: 96.82 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/10.82, allocations: 0 / 4.127 GB, free: 96.82 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004093/10.83, allocations: 0.9317 MB / 4.128 GB, free: 95.86 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/10.84, allocations: 2.539 MB / 4.13 GB, free: 93.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/10.84, allocations: 4 kB / 4.13 GB, free: 93.26 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002864/10.84, allocations: 187.2 kB / 4.13 GB, free: 93.08 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002774/10.84, allocations: 48.5 kB / 4.13 GB, free: 93.04 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002804/10.84, allocations: 19.98 kB / 4.13 GB, free: 93.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006776/10.84, allocations: 0.5869 MB / 4.131 GB, free: 92.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/10.84, allocations: 7.984 kB / 4.131 GB, free: 92.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006808/10.85, allocations: 1.821 MB / 4.133 GB, free: 90.48 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001906/10.85, allocations: 348.3 kB / 4.133 GB, free: 90.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000871/10.85, allocations: 8 kB / 4.133 GB, free: 90.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004085/10.86, allocations: 128 kB / 4.133 GB, free: 90 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003624/10.86, allocations: 56.06 kB / 4.133 GB, free: 89.95 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002315/10.86, allocations: 35.98 kB / 4.133 GB, free: 89.91 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002632/10.86, allocations: 0.7113 MB / 4.134 GB, free: 89.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007033/10.87, allocations: 0.947 MB / 4.135 GB, free: 88.25 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006762/10.87, allocations: 2.637 MB / 4.137 GB, free: 85.87 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006152/10.88, allocations: 1.524 MB / 4.139 GB, free: 84.33 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/10.88, allocations: 4 kB / 4.139 GB, free: 84.32 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001833/10.88, allocations: 488.6 kB / 4.139 GB, free: 83.84 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008541/10.89, allocations: 0.6715 MB / 4.14 GB, free: 83.18 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02394/10.91, allocations: 2.572 MB / 4.143 GB, free: 80.56 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00373/10.92, allocations: 1.485 MB / 4.144 GB, free: 79.05 MB / 0.8698 GB Notification: Performance of SimCode: time 2.735e-06/10.92, allocations: 0 / 4.144 GB, free: 79.05 MB / 0.8698 GB Notification: Performance of Templates: time 0.1624/11.08, allocations: 43.83 MB / 4.187 GB, free: 35.71 MB / 0.8698 GB