Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.585/2.585, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001708/0.001708, allocations: 179.7 kB / 360.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001255/0.001254, allocations: 90.14 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2804/0.2817, allocations: 121.4 MB / 0.8502 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6717/0.9534, allocations: 115.2 MB / 0.9627 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.779/5.732, allocations: 2.08 GB / 3.043 GB, free: 38.46 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/5.733, allocations: 87.45 kB / 3.043 GB, free: 38.42 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 3.138/8.871, allocations: 0.6005 GB / 3.643 GB, free: 181.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 8.93e-05/8.871, allocations: 8.5 kB / 3.643 GB, free: 181.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00234/8.873, allocations: 234.8 kB / 3.644 GB, free: 181.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003747/8.877, allocations: 0.8795 MB / 3.644 GB, free: 180.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/8.877, allocations: 20 kB / 3.644 GB, free: 180.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.964e-05/8.877, allocations: 24 kB / 3.644 GB, free: 180.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001119/8.878, allocations: 365.4 kB / 3.645 GB, free: 180.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/8.879, allocations: 435 kB / 3.645 GB, free: 179.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/8.879, allocations: 0 / 3.645 GB, free: 179.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.33e-05/8.88, allocations: 0 / 3.645 GB, free: 179.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/8.88, allocations: 16.78 kB / 3.645 GB, free: 179.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004105/8.884, allocations: 2.245 MB / 3.647 GB, free: 177.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/8.884, allocations: 214.7 kB / 3.648 GB, free: 177 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/8.885, allocations: 125.6 kB / 3.648 GB, free: 176.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001467/8.886, allocations: 0.8335 MB / 3.649 GB, free: 175.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003443/8.886, allocations: 183 kB / 3.649 GB, free: 175.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 5.02e-06/8.886, allocations: 3.984 kB / 3.649 GB, free: 175.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.002217/8.889, allocations: 404.7 kB / 3.649 GB, free: 175.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/8.889, allocations: 106.8 kB / 3.649 GB, free: 175.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/8.89, allocations: 454.2 kB / 3.65 GB, free: 174.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/8.89, allocations: 29.7 kB / 3.65 GB, free: 174.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/8.89, allocations: 248.1 kB / 3.65 GB, free: 174.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.352e-05/8.891, allocations: 86.75 kB / 3.65 GB, free: 174.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/8.891, allocations: 4 kB / 3.65 GB, free: 174.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001164/8.891, allocations: 366.8 kB / 3.65 GB, free: 173.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/8.891, allocations: 96.72 kB / 3.65 GB, free: 173.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/8.891, allocations: 297.5 kB / 3.651 GB, free: 173.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008502/8.892, allocations: 216 kB / 3.651 GB, free: 173.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/8.892, allocations: 7.938 kB / 3.651 GB, free: 173.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00178/8.894, allocations: 468.7 kB / 3.651 GB, free: 172.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003877/8.894, allocations: 1.833 MB / 3.653 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/8.895, allocations: 4 kB / 3.653 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/8.895, allocations: 8 kB / 3.653 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008819/8.895, allocations: 79.89 kB / 3.653 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.042e-05/8.896, allocations: 11.94 kB / 3.653 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000954/8.896, allocations: 47.58 kB / 3.653 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.666e-05/8.897, allocations: 23.98 kB / 3.653 GB, free: 170.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/8.897, allocations: 4 kB / 3.653 GB, free: 170.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00127/8.898, allocations: 386.5 kB / 3.654 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/8.898, allocations: 4 kB / 3.654 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/8.898, allocations: 8 kB / 3.654 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/8.899, allocations: 82.62 kB / 3.654 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/8.899, allocations: 15.92 kB / 3.654 GB, free: 170.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006939/8.899, allocations: 36.03 kB / 3.654 GB, free: 170.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-05/8.899, allocations: 23.98 kB / 3.654 GB, free: 170.1 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.0001597/8.9, allocations: 117 kB / 3.654 GB, free: 170 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/8.9, allocations: 59.19 kB / 3.654 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/8.901, allocations: 369.5 kB / 3.654 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/8.901, allocations: 0 / 3.654 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/8.901, allocations: 4 kB / 3.654 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/8.901, allocations: 7.984 kB / 3.654 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/8.905, allocations: 1.149 MB / 3.656 GB, free: 168.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/8.905, allocations: 0 / 3.656 GB, free: 168.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006954/8.906, allocations: 43.97 kB / 3.656 GB, free: 168.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-05/8.906, allocations: 4.234 kB / 3.656 GB, free: 168.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.811e-05/8.906, allocations: 11.94 kB / 3.656 GB, free: 168.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/8.906, allocations: 3.984 kB / 3.656 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/8.906, allocations: 4 kB / 3.656 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002186/8.908, allocations: 0.6276 MB / 3.656 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002917/8.911, allocations: 1.083 MB / 3.657 GB, free: 166.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004607/8.912, allocations: 164.3 kB / 3.657 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/8.912, allocations: 4 kB / 3.657 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009655/8.913, allocations: 15.91 kB / 3.657 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/8.913, allocations: 22.92 kB / 3.657 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.295e-05/8.913, allocations: 8 kB / 3.657 GB, free: 166.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0009926/8.914, allocations: 350.9 kB / 3.658 GB, free: 165.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007446/8.922, allocations: 0.7258 MB / 3.659 GB, free: 165 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.004806/8.927, allocations: 1.765 MB / 3.66 GB, free: 163.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001847/8.929, allocations: 467.8 kB / 3.661 GB, free: 163.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/8.929, allocations: 0 / 3.661 GB, free: 163.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004616/8.929, allocations: 125.1 kB / 3.661 GB, free: 162.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002835/8.932, allocations: 193.9 kB / 3.661 GB, free: 162.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008965/8.941, allocations: 1.528 MB / 3.662 GB, free: 161.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/8.942, allocations: 0.974 MB / 3.663 GB, free: 160.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.443e-06/8.942, allocations: 0 / 3.663 GB, free: 160.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.fmu > Buildings_8.0.0_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1)