Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.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.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") [: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 1.982/1.982, allocations: 253.1 MB / 260.4 MB, free: 7.555 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.001749/0.001749, allocations: 181.2 kB / 319.6 MB, free: 3.273 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.97/1.97, allocations: 205.4 MB / 0.5704 GB, free: 15.02 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.001874/0.001873, allocations: 82.7 kB / 0.6746 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.1e-05/1.121e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2007, allocations: 106.2 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.458/5.659, allocations: 2.201 GB / 3.089 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/5.659, allocations: 81.95 kB / 3.089 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.749/8.408, allocations: 0.5801 GB / 3.669 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.711e-05/8.408, allocations: 18.25 kB / 3.669 GB, free: 184.8 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.004057/8.412, allocations: 1.028 MB / 3.67 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/8.412, allocations: 7.562 kB / 3.67 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002369/8.415, allocations: 233.6 kB / 3.67 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003922/8.419, allocations: 0.888 MB / 3.671 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.964e-05/8.419, allocations: 10.75 kB / 3.671 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/8.419, allocations: 24.34 kB / 3.671 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001174/8.42, allocations: 372.6 kB / 3.671 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/8.421, allocations: 442.3 kB / 3.672 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/8.421, allocations: 0 / 3.672 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-05/8.421, allocations: 3.188 kB / 3.672 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.786e-05/8.421, allocations: 15.34 kB / 3.672 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004596/8.426, allocations: 2.263 MB / 3.674 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005489/8.427, allocations: 231.9 kB / 3.674 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/8.427, allocations: 122.4 kB / 3.674 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001579/8.429, allocations: 0.8283 MB / 3.675 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000387/8.429, allocations: 187.9 kB / 3.675 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 3.096e-06/8.429, allocations: 3.375 kB / 3.675 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.001855/8.431, allocations: 408.5 kB / 3.676 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/8.431, allocations: 106.5 kB / 3.676 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008136/8.432, allocations: 459.4 kB / 3.676 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.668e-05/8.432, allocations: 36.8 kB / 3.676 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/8.432, allocations: 252.2 kB / 3.677 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/8.432, allocations: 83.59 kB / 3.677 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/8.432, allocations: 0 / 3.677 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001189/8.432, allocations: 369.7 kB / 3.677 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/8.433, allocations: 107.4 kB / 3.677 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/8.433, allocations: 290.2 kB / 3.677 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008681/8.434, allocations: 224.5 kB / 3.678 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/8.434, allocations: 3.812 kB / 3.678 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001501/8.435, allocations: 480.6 kB / 3.678 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004558/8.436, allocations: 1.828 MB / 3.68 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.405e-05/8.436, allocations: 7.938 kB / 3.68 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-05/8.436, allocations: 7.344 kB / 3.68 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007058/8.437, allocations: 86.97 kB / 3.68 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/8.437, allocations: 10.16 kB / 3.68 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008085/8.438, allocations: 44.98 kB / 3.68 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.427e-05/8.438, allocations: 25.78 kB / 3.68 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/8.438, allocations: 2.719 kB / 3.68 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001308/8.439, allocations: 395.5 kB / 3.68 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/8.439, allocations: 10.02 kB / 3.68 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/8.439, allocations: 10.47 kB / 3.68 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006211/8.44, allocations: 82.58 kB / 3.68 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/8.44, allocations: 13.41 kB / 3.68 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007207/8.44, allocations: 31.47 kB / 3.68 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/8.441, allocations: 27.55 kB / 3.681 GB, free: 178.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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 0.0001849/8.441, allocations: 119 kB / 3.681 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/8.441, allocations: 53.25 kB / 3.681 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/8.442, allocations: 372.6 kB / 3.681 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/8.442, allocations: 3.188 kB / 3.681 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/8.442, allocations: 3.969 kB / 3.681 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/8.442, allocations: 3.844 kB / 3.681 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/8.445, allocations: 1.175 MB / 3.682 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/8.445, allocations: 0 / 3.682 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004545/8.446, allocations: 43.25 kB / 3.682 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/8.446, allocations: 7.656 kB / 3.682 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/8.446, allocations: 3.812 kB / 3.682 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.355e-06/8.446, allocations: 8.953 kB / 3.682 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/8.446, allocations: 3.188 kB / 3.682 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001654/8.447, allocations: 0.7711 MB / 3.683 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/8.448, allocations: 166.2 kB / 3.683 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/8.448, allocations: 6.5 kB / 3.683 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004991/8.448, allocations: 14.56 kB / 3.683 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/8.449, allocations: 19.73 kB / 3.683 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/8.449, allocations: 18.95 kB / 3.683 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005934/8.449, allocations: 348.5 kB / 3.684 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001808/8.451, allocations: 382 kB / 3.684 GB, free: 177.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (hum.outCon.Xi) * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003348/8.454, allocations: 1.784 MB / 3.686 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001373/8.456, allocations: 474.9 kB / 3.686 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/8.456, allocations: 3.719 kB / 3.686 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003532/8.456, allocations: 135 kB / 3.686 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/8.458, allocations: 194.6 kB / 3.686 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006506/8.465, allocations: 1.582 MB / 3.688 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007309/8.465, allocations: 0.9631 MB / 3.689 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.282e-06/8.465, allocations: 0 / 3.689 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.04886/8.514, allocations: 18.59 MB / 3.707 GB, free: 175 MB / 0.8698 GB