Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.401/2.401, allocations: 284.9 MB / 292.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001541/0.001541, allocations: 177.3 kB / 360.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.1 MB / 0.6188 GB, free: 12.39 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001245/0.001245, allocations: 81.62 kB / 0.7318 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.133e-05/1.142e-05, allocations: 4 kB / 0.8502 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6808/0.6808, allocations: 115.2 MB / 0.9628 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.643/5.324, allocations: 2.086 GB / 3.049 GB, free: 31.48 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/5.324, allocations: 89.38 kB / 3.049 GB, free: 31.43 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.992/10.32, allocations: 1.036 GB / 4.085 GB, free: 84.32 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002465/10.32, allocations: 43.98 kB / 4.085 GB, free: 84.28 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.005964/10.32, allocations: 2.064 MB / 4.087 GB, free: 82.15 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/10.32, allocations: 12.03 kB / 4.087 GB, free: 82.14 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006535/10.33, allocations: 0.6375 MB / 4.088 GB, free: 81.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006762/10.34, allocations: 1.466 MB / 4.09 GB, free: 79.98 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006739/10.34, allocations: 118.3 kB / 4.09 GB, free: 79.86 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003587/10.34, allocations: 72 kB / 4.09 GB, free: 79.79 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003319/10.34, allocations: 1.028 MB / 4.091 GB, free: 78.76 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003561/10.34, allocations: 1.227 MB / 4.092 GB, free: 77.46 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.08e-05/10.34, allocations: 0 / 4.092 GB, free: 77.46 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001999/10.34, allocations: 4 kB / 4.092 GB, free: 77.45 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-05/10.34, allocations: 38.27 kB / 4.092 GB, free: 77.41 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01526/10.36, allocations: 6.169 MB / 4.098 GB, free: 70.96 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/10.36, allocations: 0.5381 MB / 4.098 GB, free: 70.41 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/10.36, allocations: 452.6 kB / 4.099 GB, free: 69.97 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009393/10.36, allocations: 482.1 kB / 4.099 GB, free: 69.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/10.36, allocations: 0.4966 MB / 4.1 GB, free: 68.89 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 4.959e-06/10.36, allocations: 0 / 4.1 GB, free: 68.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.005138/10.37, allocations: 1.12 MB / 4.101 GB, free: 67.77 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/10.37, allocations: 196.6 kB / 4.101 GB, free: 67.53 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/10.37, allocations: 0.9295 MB / 4.102 GB, free: 66.59 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000324/10.37, allocations: 29.7 kB / 4.102 GB, free: 66.56 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005252/10.37, allocations: 0.5087 MB / 4.103 GB, free: 66.04 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004843/10.37, allocations: 260.1 kB / 4.103 GB, free: 65.79 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/10.37, allocations: 8 kB / 4.103 GB, free: 65.78 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.685e-05/10.37, allocations: 333.9 kB / 4.103 GB, free: 65.45 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008588/10.37, allocations: 329.9 kB / 4.103 GB, free: 65.12 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/10.38, allocations: 0.5758 MB / 4.104 GB, free: 64.44 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/10.38, allocations: 466.5 kB / 4.104 GB, free: 63.99 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.198e-06/10.38, allocations: 0 / 4.104 GB, free: 63.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003767/10.38, allocations: 1.114 MB / 4.106 GB, free: 62.87 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003375/10.38, allocations: 1.69 MB / 4.107 GB, free: 61.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/10.38, allocations: 4 kB / 4.107 GB, free: 61.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002664/10.38, allocations: 48.84 kB / 4.107 GB, free: 61.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/10.38, allocations: 207.7 kB / 4.107 GB, free: 60.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006331/10.38, allocations: 0.6183 MB / 4.108 GB, free: 60.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002955/10.39, allocations: 163.2 kB / 4.108 GB, free: 60.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002623/10.39, allocations: 40.05 kB / 4.108 GB, free: 59.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/10.39, allocations: 4 kB / 4.108 GB, free: 59.98 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002961/10.39, allocations: 0.9109 MB / 4.109 GB, free: 59.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/10.39, allocations: 4 kB / 4.109 GB, free: 59.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002343/10.39, allocations: 53.39 kB / 4.109 GB, free: 59.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/10.39, allocations: 207.6 kB / 4.109 GB, free: 58.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/10.39, allocations: 1.47 MB / 4.111 GB, free: 57.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00406/10.4, allocations: 159.4 kB / 4.111 GB, free: 57.06 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004067/10.4, allocations: 36.05 kB / 4.111 GB, free: 57.03 MB / 0.948 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.0005551/10.4, allocations: 162.5 kB / 4.111 GB, free: 56.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005028/10.4, allocations: 146.2 kB / 4.111 GB, free: 56.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003458/10.4, allocations: 1.062 MB / 4.112 GB, free: 55.62 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/10.4, allocations: 8 kB / 4.112 GB, free: 55.62 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/10.4, allocations: 3.938 kB / 4.112 GB, free: 55.61 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002424/10.41, allocations: 0.9407 MB / 4.113 GB, free: 54.64 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007275/10.41, allocations: 2.545 MB / 4.116 GB, free: 52.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/10.41, allocations: 4 kB / 4.116 GB, free: 52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/10.42, allocations: 192 kB / 4.116 GB, free: 51.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001855/10.42, allocations: 36.84 kB / 4.116 GB, free: 51.78 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/10.42, allocations: 23.89 kB / 4.116 GB, free: 51.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000461/10.42, allocations: 0.5988 MB / 4.117 GB, free: 51.13 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/10.42, allocations: 7.938 kB / 4.117 GB, free: 51.12 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004301/10.42, allocations: 1.82 MB / 4.118 GB, free: 49.19 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/10.42, allocations: 343 kB / 4.119 GB, free: 48.83 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003681/10.42, allocations: 19.91 kB / 4.119 GB, free: 48.81 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00234/10.42, allocations: 123.8 kB / 4.119 GB, free: 48.69 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/10.42, allocations: 44.5 kB / 4.119 GB, free: 48.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/10.43, allocations: 35.92 kB / 4.119 GB, free: 48.61 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001531/10.43, allocations: 0.7072 MB / 4.12 GB, free: 47.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004425/10.43, allocations: 0.9703 MB / 4.121 GB, free: 46.93 MB / 0.948 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.004562/10.44, allocations: 2.64 MB / 4.123 GB, free: 44.11 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004001/10.44, allocations: 1.528 MB / 4.125 GB, free: 42.56 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/10.44, allocations: 4.25 kB / 4.125 GB, free: 42.56 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/10.44, allocations: 491.9 kB / 4.125 GB, free: 42.07 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006508/10.45, allocations: 0.6669 MB / 4.126 GB, free: 41.41 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/10.46, allocations: 2.559 MB / 4.128 GB, free: 38.78 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001955/10.46, allocations: 1.481 MB / 4.13 GB, free: 37.27 MB / 0.948 GB Notification: Performance of SimCode: time 2.004e-06/10.46, allocations: 0 / 4.13 GB, free: 37.27 MB / 0.948 GB Notification: Performance of Templates: time 0.1299/10.59, allocations: 43.89 MB / 4.173 GB, free: 9.508 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)