Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_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.SprayAirWasher_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_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 2.061/2.061, allocations: 253.1 MB / 260.4 MB, free: 7.547 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.001596/0.001595, allocations: 177.3 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.832/1.832, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001419/0.001419, allocations: 86.05 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.114e-05/1.126e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2142, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.947/6.162, allocations: 2.199 GB / 3.087 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/6.162, allocations: 85.27 kB / 3.087 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.374/10.54, allocations: 0.9341 GB / 4.022 GB, free: 197.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.69e-05/10.54, allocations: 21.03 kB / 4.022 GB, free: 197.4 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.004041/10.54, allocations: 1.01 MB / 4.023 GB, free: 196.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/10.54, allocations: 11.19 kB / 4.023 GB, free: 196.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/10.54, allocations: 234.9 kB / 4.023 GB, free: 196.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003811/10.55, allocations: 0.8847 MB / 4.024 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.733e-05/10.55, allocations: 18.03 kB / 4.024 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/10.55, allocations: 25.81 kB / 4.024 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001141/10.55, allocations: 370.3 kB / 4.024 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/10.55, allocations: 441.1 kB / 4.024 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/10.55, allocations: 0 / 4.024 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.403e-05/10.55, allocations: 0 / 4.024 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/10.55, allocations: 22.12 kB / 4.024 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00429/10.55, allocations: 2.251 MB / 4.027 GB, free: 195.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/10.55, allocations: 233.9 kB / 4.027 GB, free: 195.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/10.55, allocations: 119.9 kB / 4.027 GB, free: 195.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001521/10.56, allocations: 0.8302 MB / 4.028 GB, free: 194.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003692/10.56, allocations: 187.9 kB / 4.028 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=26): time 3.156e-06/10.56, allocations: 0 / 4.028 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26): time 0.001785/10.56, allocations: 410.9 kB / 4.028 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/10.56, allocations: 110.5 kB / 4.028 GB, free: 194 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008015/10.56, allocations: 455.7 kB / 4.029 GB, free: 193.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/10.56, allocations: 25.7 kB / 4.029 GB, free: 193.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/10.56, allocations: 251.3 kB / 4.029 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.541e-05/10.56, allocations: 86.45 kB / 4.029 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/10.56, allocations: 10.44 kB / 4.029 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000111/10.56, allocations: 359.5 kB / 4.03 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/10.56, allocations: 103 kB / 4.03 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/10.56, allocations: 304.5 kB / 4.03 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008424/10.56, allocations: 231.4 kB / 4.03 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/10.56, allocations: 0 / 4.03 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001417/10.56, allocations: 480.8 kB / 4.031 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004058/10.56, allocations: 1.828 MB / 4.032 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/10.56, allocations: 7.844 kB / 4.032 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/10.56, allocations: 7.75 kB / 4.032 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007023/10.56, allocations: 86.77 kB / 4.033 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/10.56, allocations: 12.78 kB / 4.033 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007781/10.56, allocations: 43.27 kB / 4.033 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.117e-05/10.56, allocations: 28.97 kB / 4.033 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/10.56, allocations: 3.219 kB / 4.033 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001278/10.57, allocations: 393.5 kB / 4.033 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/10.57, allocations: 3.781 kB / 4.033 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/10.57, allocations: 7.312 kB / 4.033 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006208/10.57, allocations: 94.95 kB / 4.033 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/10.57, allocations: 7.25 kB / 4.033 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006554/10.57, allocations: 34.25 kB / 4.033 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/10.57, allocations: 23.34 kB / 4.033 GB, free: 191.1 MB / 0.8855 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.0001678/10.57, allocations: 127.6 kB / 4.033 GB, free: 191 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/10.57, allocations: 61.59 kB / 4.033 GB, free: 191 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/10.57, allocations: 363.1 kB / 4.034 GB, free: 191 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/10.57, allocations: 3.75 kB / 4.034 GB, free: 191 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/10.57, allocations: 0 / 4.034 GB, free: 191 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/10.57, allocations: 3.844 kB / 4.034 GB, free: 191 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/10.57, allocations: 1.157 MB / 4.035 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/10.57, allocations: 3.938 kB / 4.035 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004489/10.57, allocations: 45.44 kB / 4.035 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/10.57, allocations: 7.156 kB / 4.035 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/10.57, allocations: 10.64 kB / 4.035 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/10.57, allocations: 7.188 kB / 4.035 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/10.57, allocations: 10.3 kB / 4.035 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001601/10.57, allocations: 0.7602 MB / 4.036 GB, free: 190.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/10.57, allocations: 176.5 kB / 4.036 GB, free: 190 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/10.57, allocations: 0 / 4.036 GB, free: 190 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004721/10.58, allocations: 14.41 kB / 4.036 GB, free: 190 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/10.58, allocations: 20.06 kB / 4.036 GB, free: 190 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/10.58, allocations: 16.31 kB / 4.036 GB, free: 190 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0006364/10.58, allocations: 348.3 kB / 4.036 GB, free: 189.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001733/10.58, allocations: 382.7 kB / 4.037 GB, free: 189.8 MB / 0.8855 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.003152/10.58, allocations: 1.781 MB / 4.038 GB, free: 189.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001336/10.58, allocations: 476.2 kB / 4.039 GB, free: 189.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/10.58, allocations: 0 / 4.039 GB, free: 189.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003079/10.58, allocations: 130.8 kB / 4.039 GB, free: 189.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/10.58, allocations: 201.7 kB / 4.039 GB, free: 189.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006384/10.59, allocations: 1.586 MB / 4.041 GB, free: 189.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007064/10.59, allocations: 0.9639 MB / 4.042 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.673e-06/10.59, allocations: 0 / 4.042 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.05209/10.64, allocations: 18.59 MB / 4.06 GB, free: 187.6 MB / 0.8855 GB