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: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) [: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.369/1.369, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.00113/0.00113, allocations: 193.2 kB / 361.1 MB, free: 7.105 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.258/1.258, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0008318/0.0008318, allocations: 90.42 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2208/0.2216, allocations: 121.4 MB / 0.8511 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.546/0.7677, allocations: 115.3 MB / 0.9637 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.255/4.023, allocations: 2.08 GB / 3.044 GB, free: 55.19 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/4.023, allocations: 91.45 kB / 3.044 GB, free: 55.1 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 1.825/5.848, allocations: 0.6005 GB / 3.644 GB, free: 193.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/5.848, allocations: 8.5 kB / 3.644 GB, free: 193.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/5.85, allocations: 234.8 kB / 3.645 GB, free: 192.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/5.852, allocations: 0.8728 MB / 3.646 GB, free: 192 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/5.852, allocations: 16.89 kB / 3.646 GB, free: 192 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/5.852, allocations: 27.39 kB / 3.646 GB, free: 192 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005446/5.852, allocations: 365.4 kB / 3.646 GB, free: 191.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/5.853, allocations: 439 kB / 3.646 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/5.853, allocations: 0 / 3.646 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/5.853, allocations: 0 / 3.646 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/5.853, allocations: 24.77 kB / 3.646 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/5.855, allocations: 2.231 MB / 3.649 GB, free: 188.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/5.856, allocations: 226.7 kB / 3.649 GB, free: 188.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/5.856, allocations: 117.6 kB / 3.649 GB, free: 188.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008499/5.857, allocations: 0.8301 MB / 3.65 GB, free: 187.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/5.857, allocations: 194.1 kB / 3.65 GB, free: 187.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/5.857, allocations: 0 / 3.65 GB, free: 187.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.0009741/5.858, allocations: 405.5 kB / 3.65 GB, free: 186.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/5.858, allocations: 109.4 kB / 3.65 GB, free: 186.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/5.858, allocations: 458.2 kB / 3.651 GB, free: 186.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/5.858, allocations: 29.7 kB / 3.651 GB, free: 186.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/5.858, allocations: 255.7 kB / 3.651 GB, free: 186 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/5.858, allocations: 82.75 kB / 3.651 GB, free: 185.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.631e-05/5.858, allocations: 0 / 3.651 GB, free: 185.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.399e-05/5.858, allocations: 362.8 kB / 3.652 GB, free: 185.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/5.859, allocations: 100.7 kB / 3.652 GB, free: 185.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/5.859, allocations: 285.5 kB / 3.652 GB, free: 185 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/5.859, allocations: 228.4 kB / 3.652 GB, free: 184.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/5.859, allocations: 0 / 3.652 GB, free: 184.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007304/5.86, allocations: 473.5 kB / 3.653 GB, free: 184.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002541/5.86, allocations: 1.835 MB / 3.654 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/5.86, allocations: 7.984 kB / 3.654 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/5.86, allocations: 8 kB / 3.654 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/5.861, allocations: 79.83 kB / 3.654 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/5.861, allocations: 8 kB / 3.654 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/5.861, allocations: 51.52 kB / 3.654 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/5.861, allocations: 23.98 kB / 3.655 GB, free: 182.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.643e-06/5.861, allocations: 5.719 kB / 3.655 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006309/5.862, allocations: 379.8 kB / 3.655 GB, free: 181.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/5.862, allocations: 8.094 kB / 3.655 GB, free: 181.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/5.862, allocations: 8 kB / 3.655 GB, free: 181.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/5.862, allocations: 75.89 kB / 3.655 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/5.862, allocations: 14.67 kB / 3.655 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/5.862, allocations: 35.67 kB / 3.655 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/5.862, allocations: 27.98 kB / 3.655 GB, free: 181.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 8.116e-05/5.862, allocations: 116.9 kB / 3.655 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/5.862, allocations: 55.34 kB / 3.655 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006463/5.863, allocations: 369.3 kB / 3.656 GB, free: 181.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/5.863, allocations: 4 kB / 3.656 GB, free: 181.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/5.863, allocations: 0 / 3.656 GB, free: 181.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/5.863, allocations: 0 / 3.656 GB, free: 181.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/5.864, allocations: 1.151 MB / 3.657 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/5.864, allocations: 4 kB / 3.657 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/5.865, allocations: 44 kB / 3.657 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/5.865, allocations: 8.219 kB / 3.657 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/5.865, allocations: 8 kB / 3.657 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/5.865, allocations: 7.938 kB / 3.657 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/5.865, allocations: 0 / 3.657 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006127/5.865, allocations: 0.6308 MB / 3.657 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008496/5.866, allocations: 1.075 MB / 3.658 GB, free: 177.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/5.866, allocations: 164.3 kB / 3.659 GB, free: 177.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.914e-05/5.866, allocations: 7.984 kB / 3.659 GB, free: 177.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/5.867, allocations: 11.91 kB / 3.659 GB, free: 177.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/5.867, allocations: 27.91 kB / 3.659 GB, free: 177.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/5.867, allocations: 13.09 kB / 3.659 GB, free: 177.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002813/5.867, allocations: 346.9 kB / 3.659 GB, free: 177.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002796/5.87, allocations: 0.7219 MB / 3.66 GB, free: 176.6 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.002913/5.873, allocations: 1.776 MB / 3.661 GB, free: 175.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009614/5.874, allocations: 466.6 kB / 3.662 GB, free: 174.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/5.874, allocations: 6.25 kB / 3.662 GB, free: 174.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/5.874, allocations: 119.8 kB / 3.662 GB, free: 174.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/5.875, allocations: 200.3 kB / 3.662 GB, free: 174.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/5.88, allocations: 1.523 MB / 3.664 GB, free: 172.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000469/5.88, allocations: 0.9635 MB / 3.665 GB, free: 171.8 MB / 0.948 GB Notification: Performance of SimCode: time 9.32e-07/5.88, allocations: 4 kB / 3.665 GB, free: 171.8 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1)