Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="Buildings_8_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.593/1.593, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001187/0.001187, allocations: 173.3 kB / 366.3 MB, free: 2.012 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.556/1.556, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0009616/0.0009614, allocations: 81.75 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2867/0.2877, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6949/0.9826, allocations: 116.3 MB / 0.9726 GB, free: 68.14 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.981/5.963, allocations: 2.081 GB / 3.054 GB, free: 356.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/5.964, allocations: 90.97 kB / 3.054 GB, free: 356.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.718/7.681, allocations: 0.6005 GB / 3.654 GB, free: 123.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/7.682, allocations: 12 kB / 3.654 GB, free: 123.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/7.683, allocations: 238.8 kB / 3.655 GB, free: 123.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/7.685, allocations: 0.8804 MB / 3.655 GB, free: 122.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/7.685, allocations: 16 kB / 3.655 GB, free: 122.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.159e-05/7.685, allocations: 24 kB / 3.655 GB, free: 122.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006092/7.686, allocations: 361.5 kB / 3.656 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006356/7.686, allocations: 443 kB / 3.656 GB, free: 121.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/7.686, allocations: 3.938 kB / 3.656 GB, free: 121.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.231e-05/7.686, allocations: 3.938 kB / 3.656 GB, free: 121.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/7.687, allocations: 16.78 kB / 3.656 GB, free: 121.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00248/7.689, allocations: 2.229 MB / 3.658 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/7.689, allocations: 235.5 kB / 3.659 GB, free: 119.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/7.689, allocations: 118.2 kB / 3.659 GB, free: 119.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009417/7.69, allocations: 0.8245 MB / 3.66 GB, free: 118.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/7.691, allocations: 186.2 kB / 3.66 GB, free: 118 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 2.605e-06/7.691, allocations: 4 kB / 3.66 GB, free: 118 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.00105/7.692, allocations: 400.7 kB / 3.66 GB, free: 117.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/7.692, allocations: 106.8 kB / 3.66 GB, free: 117.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004377/7.692, allocations: 454.2 kB / 3.661 GB, free: 117 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/7.692, allocations: 29.7 kB / 3.661 GB, free: 116.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/7.692, allocations: 259.5 kB / 3.661 GB, free: 116.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/7.692, allocations: 82.84 kB / 3.661 GB, free: 116.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/7.692, allocations: 32 / 3.661 GB, free: 116.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.807e-05/7.693, allocations: 366.8 kB / 3.661 GB, free: 116.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/7.693, allocations: 100.7 kB / 3.661 GB, free: 116.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/7.693, allocations: 281.6 kB / 3.662 GB, free: 115.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/7.693, allocations: 226.4 kB / 3.662 GB, free: 115.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/7.693, allocations: 0 / 3.662 GB, free: 115.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000753/7.694, allocations: 476.4 kB / 3.662 GB, free: 115.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003158/7.694, allocations: 1.825 MB / 3.664 GB, free: 113.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/7.694, allocations: 11.98 kB / 3.664 GB, free: 113.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/7.694, allocations: 8 kB / 3.664 GB, free: 113.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/7.695, allocations: 79.84 kB / 3.664 GB, free: 113 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/7.695, allocations: 11.98 kB / 3.664 GB, free: 113 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/7.695, allocations: 43.58 kB / 3.664 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/7.695, allocations: 24 kB / 3.664 GB, free: 112.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-06/7.695, allocations: 4.625 kB / 3.664 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006834/7.696, allocations: 386.1 kB / 3.665 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/7.696, allocations: 4 kB / 3.665 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.664e-06/7.696, allocations: 8.562 kB / 3.665 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/7.696, allocations: 91.77 kB / 3.665 GB, free: 112.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/7.696, allocations: 8.094 kB / 3.665 GB, free: 112.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/7.697, allocations: 35.67 kB / 3.665 GB, free: 112.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/7.697, allocations: 24 kB / 3.665 GB, free: 112.4 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.000109/7.697, allocations: 124.8 kB / 3.665 GB, free: 112.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/7.697, allocations: 63.25 kB / 3.665 GB, free: 112.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007201/7.698, allocations: 360.1 kB / 3.665 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/7.698, allocations: 7.984 kB / 3.665 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/7.698, allocations: 0 / 3.665 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/7.698, allocations: 0 / 3.665 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/7.699, allocations: 1.159 MB / 3.667 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/7.699, allocations: 4 kB / 3.667 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/7.699, allocations: 43.92 kB / 3.667 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/7.699, allocations: 4 kB / 3.667 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/7.699, allocations: 7.984 kB / 3.667 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/7.699, allocations: 4.281 kB / 3.667 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/7.699, allocations: 4 kB / 3.667 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006835/7.7, allocations: 0.6288 MB / 3.667 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009612/7.701, allocations: 1.077 MB / 3.668 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/7.701, allocations: 168.3 kB / 3.668 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.349e-05/7.701, allocations: 4 kB / 3.668 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/7.702, allocations: 15.89 kB / 3.668 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/7.702, allocations: 15.98 kB / 3.668 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/7.702, allocations: 11.98 kB / 3.668 GB, free: 108.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003065/7.702, allocations: 350.9 kB / 3.669 GB, free: 108.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002971/7.705, allocations: 0.7296 MB / 3.67 GB, free: 107.3 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.002529/7.708, allocations: 1.788 MB / 3.671 GB, free: 105.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007686/7.708, allocations: 451.7 kB / 3.672 GB, free: 105.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/7.708, allocations: 4 kB / 3.672 GB, free: 105.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/7.709, allocations: 127.8 kB / 3.672 GB, free: 104.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/7.71, allocations: 198.5 kB / 3.672 GB, free: 104.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/7.714, allocations: 1.513 MB / 3.674 GB, free: 103.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004503/7.714, allocations: 0.9584 MB / 3.674 GB, free: 102.2 MB / 0.948 GB Notification: Performance of SimCode: time 9.92e-07/7.714, allocations: 0 / 3.674 GB, free: 102.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.fmu > Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1)