Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X") translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X") [: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.0.1-maint.8.0.x/package.mo): time 1.44/1.44, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.00105/0.00105, allocations: 181.3 kB / 361.1 MB, free: 7.078 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.336/1.336, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.001057/0.001057, allocations: 86.39 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.664e-06/7.685e-06, allocations: 4 kB / 0.8511 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.69/0.69, allocations: 115.3 MB / 0.9637 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.213/4.903, allocations: 2.08 GB / 3.044 GB, free: 58.07 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/4.903, allocations: 85.55 kB / 3.044 GB, free: 57.99 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.137/7.041, allocations: 0.5995 GB / 3.643 GB, free: 196.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001014/7.041, allocations: 23.59 kB / 3.643 GB, free: 196.2 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003255/7.044, allocations: 1.018 MB / 3.644 GB, free: 195.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/7.044, allocations: 8.031 kB / 3.644 GB, free: 195.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/7.046, allocations: 242.8 kB / 3.645 GB, free: 195 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/7.048, allocations: 0.871 MB / 3.645 GB, free: 194.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/7.048, allocations: 12 kB / 3.645 GB, free: 194.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/7.048, allocations: 27.98 kB / 3.646 GB, free: 194 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007394/7.049, allocations: 365.5 kB / 3.646 GB, free: 193.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/7.05, allocations: 431 kB / 3.646 GB, free: 193.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/7.05, allocations: 0 / 3.646 GB, free: 193.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/7.05, allocations: 7.281 kB / 3.646 GB, free: 193.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.38e-05/7.05, allocations: 20.77 kB / 3.646 GB, free: 193.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003054/7.053, allocations: 2.231 MB / 3.648 GB, free: 190.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/7.053, allocations: 221 kB / 3.649 GB, free: 190.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/7.054, allocations: 125.5 kB / 3.649 GB, free: 190.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/7.055, allocations: 0.8299 MB / 3.65 GB, free: 189.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/7.055, allocations: 186.1 kB / 3.65 GB, free: 189.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 3.537e-06/7.055, allocations: 0.6562 kB / 3.65 GB, free: 189.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.001178/7.056, allocations: 402.5 kB / 3.65 GB, free: 188.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/7.056, allocations: 114.8 kB / 3.65 GB, free: 188.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005047/7.057, allocations: 458.2 kB / 3.651 GB, free: 188.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/7.057, allocations: 25.7 kB / 3.651 GB, free: 188.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/7.057, allocations: 251.4 kB / 3.651 GB, free: 188 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.736e-05/7.057, allocations: 86.75 kB / 3.651 GB, free: 187.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/7.057, allocations: 0 / 3.651 GB, free: 187.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/7.057, allocations: 366.8 kB / 3.651 GB, free: 187.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/7.057, allocations: 96.7 kB / 3.652 GB, free: 187.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/7.057, allocations: 290.7 kB / 3.652 GB, free: 187.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/7.058, allocations: 222.5 kB / 3.652 GB, free: 186.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/7.058, allocations: 0 / 3.652 GB, free: 186.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008518/7.059, allocations: 480.3 kB / 3.652 GB, free: 186.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003578/7.059, allocations: 1.828 MB / 3.654 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/7.059, allocations: 4 kB / 3.654 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/7.059, allocations: 8 kB / 3.654 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/7.06, allocations: 87.83 kB / 3.654 GB, free: 184.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/7.06, allocations: 8 kB / 3.654 GB, free: 184.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/7.06, allocations: 39.77 kB / 3.654 GB, free: 184.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/7.06, allocations: 39.77 kB / 3.654 GB, free: 184.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/7.06, allocations: 4 kB / 3.654 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006988/7.061, allocations: 378.4 kB / 3.655 GB, free: 183.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/7.061, allocations: 8 kB / 3.655 GB, free: 183.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/7.061, allocations: 4 kB / 3.655 GB, free: 183.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/7.061, allocations: 83.89 kB / 3.655 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/7.061, allocations: 11.94 kB / 3.655 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/7.062, allocations: 38.97 kB / 3.655 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/7.062, allocations: 23.98 kB / 3.655 GB, free: 183.7 MB / 0.948 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 (45): * Single equations (assignments): 45 * 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.0001048/7.062, allocations: 112.9 kB / 3.655 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.512e-05/7.062, allocations: 55.34 kB / 3.655 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007245/7.063, allocations: 373.3 kB / 3.655 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/7.063, allocations: 8 kB / 3.655 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/7.063, allocations: 0 / 3.655 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/7.063, allocations: 4 kB / 3.655 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/7.064, allocations: 1.148 MB / 3.657 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/7.064, allocations: 7.719 kB / 3.657 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/7.064, allocations: 43.91 kB / 3.657 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/7.064, allocations: 4 kB / 3.657 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/7.064, allocations: 4 kB / 3.657 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/7.065, allocations: 7.938 kB / 3.657 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/7.065, allocations: 7.984 kB / 3.657 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007013/7.065, allocations: 0.6232 MB / 3.657 GB, free: 181.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/7.065, allocations: 168.2 kB / 3.657 GB, free: 181 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-05/7.066, allocations: 7.984 kB / 3.657 GB, free: 181 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/7.066, allocations: 12 kB / 3.657 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/7.066, allocations: 23.88 kB / 3.657 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/7.066, allocations: 12 kB / 3.658 GB, free: 180.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003326/7.066, allocations: 350.9 kB / 3.658 GB, free: 180.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001281/7.068, allocations: 379.3 kB / 3.658 GB, free: 180.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * 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 (26): * Single equations (assignments): 24 * 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.002474/7.07, allocations: 1.786 MB / 3.66 GB, free: 178.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007288/7.071, allocations: 452.6 kB / 3.66 GB, free: 178.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/7.071, allocations: 4 kB / 3.66 GB, free: 178.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/7.071, allocations: 128 kB / 3.661 GB, free: 178.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/7.072, allocations: 184.8 kB / 3.661 GB, free: 177.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/7.076, allocations: 1.526 MB / 3.662 GB, free: 176.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005052/7.077, allocations: 0.9637 MB / 3.663 GB, free: 175.4 MB / 0.948 GB Notification: Performance of SimCode: time 7.61e-07/7.077, allocations: 0 / 3.663 GB, free: 175.4 MB / 0.948 GB Notification: Performance of Templates: time 0.02868/7.105, allocations: 18.38 MB / 3.681 GB, free: 157.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1)