Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X") translateModel(BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7662/0.7662, allocations: 141.8 MB / 149.1 MB, free: 4.5 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 174.7 kB / 181.9 MB, free: 184 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 221.3 MB / 436 MB, free: 9.312 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 95.31 kB / 0.507 GB, free: 24.2 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001884/0.001884, allocations: 276.6 kB / 0.5884 GB, free: 12.38 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.638e-06/9.678e-06, allocations: 4 kB / 0.6759 GB, free: 2.746 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4544/0.4544, allocations: 82.77 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.111/4.566, allocations: 1.847 GB / 2.603 GB, free: 249 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/4.566, allocations: 88.39 kB / 2.604 GB, free: 248.9 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.968/6.534, allocations: 0.6048 GB / 3.208 GB, free: 141.9 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 9.622e-05/6.534, allocations: 24.38 kB / 3.208 GB, free: 141.9 MB / 0.6982 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.003606/6.538, allocations: 1.045 MB / 3.209 GB, free: 141.4 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/6.538, allocations: 11.75 kB / 3.209 GB, free: 141.4 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/6.54, allocations: 236 kB / 3.21 GB, free: 141.3 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/6.542, allocations: 0.8846 MB / 3.21 GB, free: 141.1 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/6.542, allocations: 18.53 kB / 3.211 GB, free: 141.1 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.015e-05/6.543, allocations: 23.19 kB / 3.211 GB, free: 141.1 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006644/6.543, allocations: 347.2 kB / 3.211 GB, free: 141.1 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006803/6.544, allocations: 439.8 kB / 3.211 GB, free: 141 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/6.544, allocations: 0 / 3.211 GB, free: 141 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/6.544, allocations: 7.094 kB / 3.211 GB, free: 141 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/6.544, allocations: 12.97 kB / 3.211 GB, free: 141 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00326/6.547, allocations: 2.239 MB / 3.213 GB, free: 139.7 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/6.548, allocations: 233.1 kB / 3.214 GB, free: 139.6 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/6.548, allocations: 123.5 kB / 3.214 GB, free: 139.6 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009778/6.549, allocations: 0.8258 MB / 3.215 GB, free: 138.8 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/6.549, allocations: 185.4 kB / 3.215 GB, free: 138.7 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=25): time 1.753e-06/6.549, allocations: 2.406 kB / 3.215 GB, free: 138.7 MB / 0.6982 GB Notification: Performance of matching and sorting (n=25): time 0.001199/6.55, allocations: 401.4 kB / 3.215 GB, free: 138.7 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/6.55, allocations: 109 kB / 3.215 GB, free: 138.5 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005219/6.551, allocations: 456.8 kB / 3.216 GB, free: 138.4 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/6.551, allocations: 25.7 kB / 3.216 GB, free: 138.4 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/6.551, allocations: 254.1 kB / 3.216 GB, free: 138.2 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 6.74e-05/6.551, allocations: 79.77 kB / 3.216 GB, free: 138.2 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.693e-05/6.551, allocations: 0 / 3.216 GB, free: 138.2 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001075/6.551, allocations: 369.3 kB / 3.216 GB, free: 137.9 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/6.551, allocations: 100.5 kB / 3.217 GB, free: 137.9 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/6.552, allocations: 289 kB / 3.217 GB, free: 137.7 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005054/6.552, allocations: 220.6 kB / 3.217 GB, free: 137.7 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/6.552, allocations: 2.625 kB / 3.217 GB, free: 137.7 MB / 0.6982 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008778/6.553, allocations: 470.2 kB / 3.217 GB, free: 137.6 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004148/6.554, allocations: 1.832 MB / 3.219 GB, free: 135.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/6.554, allocations: 8.047 kB / 3.219 GB, free: 135.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/6.554, allocations: 12.53 kB / 3.219 GB, free: 135.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/6.554, allocations: 82.91 kB / 3.219 GB, free: 135.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/6.554, allocations: 13.77 kB / 3.219 GB, free: 135.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/6.554, allocations: 50.55 kB / 3.219 GB, free: 135.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/6.554, allocations: 21.44 kB / 3.219 GB, free: 135.7 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/6.555, allocations: 3.906 kB / 3.219 GB, free: 135.7 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007204/6.555, allocations: 390.6 kB / 3.22 GB, free: 135.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/6.555, allocations: 6.438 kB / 3.22 GB, free: 135.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.717e-06/6.555, allocations: 8.5 kB / 3.22 GB, free: 135.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/6.556, allocations: 81.92 kB / 3.22 GB, free: 135.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/6.556, allocations: 7.219 kB / 3.22 GB, free: 135.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/6.556, allocations: 37.8 kB / 3.22 GB, free: 135.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/6.556, allocations: 24.64 kB / 3.22 GB, free: 135.6 MB / 0.6982 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.0001268/6.556, allocations: 118.6 kB / 3.22 GB, free: 135.5 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.071e-05/6.556, allocations: 57.84 kB / 3.22 GB, free: 135.5 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007376/6.557, allocations: 363.4 kB / 3.22 GB, free: 135.4 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/6.557, allocations: 7.906 kB / 3.22 GB, free: 135.4 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/6.557, allocations: 0 / 3.22 GB, free: 135.4 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/6.557, allocations: 7.422 kB / 3.22 GB, free: 135.4 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/6.559, allocations: 1.153 MB / 3.222 GB, free: 134.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/6.559, allocations: 0 / 3.222 GB, free: 134.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/6.559, allocations: 40.64 kB / 3.222 GB, free: 134.9 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/6.559, allocations: 11.52 kB / 3.222 GB, free: 134.9 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/6.559, allocations: 5.562 kB / 3.222 GB, free: 134.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/6.559, allocations: 3.938 kB / 3.222 GB, free: 134.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/6.559, allocations: 3.938 kB / 3.222 GB, free: 134.9 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007326/6.56, allocations: 0.6275 MB / 3.222 GB, free: 134.5 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/6.56, allocations: 165.2 kB / 3.222 GB, free: 134.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.855e-05/6.56, allocations: 2.844 kB / 3.222 GB, free: 134.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/6.56, allocations: 20.89 kB / 3.222 GB, free: 134.4 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/6.56, allocations: 21.58 kB / 3.222 GB, free: 134.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/6.56, allocations: 14.31 kB / 3.223 GB, free: 134.4 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0003478/6.561, allocations: 355.1 kB / 3.223 GB, free: 134.3 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001327/6.562, allocations: 367.9 kB / 3.223 GB, free: 134.3 MB / 0.6982 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.002845/6.565, allocations: 1.781 MB / 3.225 GB, free: 133.8 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0007322/6.566, allocations: 463 kB / 3.225 GB, free: 133.8 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/6.566, allocations: 3.938 kB / 3.225 GB, free: 133.8 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/6.566, allocations: 121.8 kB / 3.226 GB, free: 133.8 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/6.567, allocations: 181.5 kB / 3.226 GB, free: 133.8 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/6.571, allocations: 1.521 MB / 3.227 GB, free: 133.5 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005473/6.572, allocations: 0.9644 MB / 3.228 GB, free: 132.8 MB / 0.6982 GB Notification: Performance of SimCode: time 5.01e-07/6.572, allocations: 0 / 3.228 GB, free: 132.8 MB / 0.6982 GB Notification: Performance of Templates: time 0.04093/6.612, allocations: 18.42 MB / 3.246 GB, free: 126.9 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1)