Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7264/0.7264, allocations: 127.4 MB / 134.6 MB, free: 4.086 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.0016, allocations: 193.3 kB / 164.4 MB, free: 6.879 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205.1 MB / 399.1 MB, free: 6.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 82.5 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3648/0.366, allocations: 82.89 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.5166, allocations: 76.74 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.233/5.749, allocations: 2.155 GB / 2.776 GB, free: 41.92 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/5.75, allocations: 83.95 kB / 2.776 GB, free: 41.84 MB / 0.6355 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 2.561/8.311, allocations: 0.5937 GB / 3.37 GB, free: 124 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/8.311, allocations: 11.5 kB / 3.37 GB, free: 124 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/8.313, allocations: 238.5 kB / 3.37 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/8.315, allocations: 0.6144 MB / 3.37 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/8.315, allocations: 22.38 kB / 3.371 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/8.315, allocations: 24.75 kB / 3.371 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001013/8.316, allocations: 383.3 kB / 3.371 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/8.317, allocations: 434.1 kB / 3.371 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/8.317, allocations: 2.375 kB / 3.371 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.728e-05/8.317, allocations: 0 / 3.371 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.261e-05/8.317, allocations: 25.88 kB / 3.371 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006623/8.324, allocations: 2.243 MB / 3.374 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007781/8.325, allocations: 267.2 kB / 3.374 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/8.325, allocations: 125.5 kB / 3.374 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001756/8.327, allocations: 0.8293 MB / 3.375 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003995/8.327, allocations: 195.2 kB / 3.375 GB, free: 121.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 3.828e-06/8.327, allocations: 0 / 3.375 GB, free: 121.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.002213/8.33, allocations: 427.8 kB / 3.375 GB, free: 121.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/8.33, allocations: 106 kB / 3.375 GB, free: 121.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/8.331, allocations: 455.3 kB / 3.376 GB, free: 121 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.381e-05/8.331, allocations: 31.94 kB / 3.376 GB, free: 121 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/8.331, allocations: 254.4 kB / 3.376 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/8.331, allocations: 90.72 kB / 3.376 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/8.331, allocations: 2.25 kB / 3.376 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001708/8.332, allocations: 364.1 kB / 3.377 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/8.332, allocations: 113.4 kB / 3.377 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004547/8.332, allocations: 288 kB / 3.377 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008925/8.333, allocations: 252.8 kB / 3.377 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/8.333, allocations: 0 / 3.377 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001625/8.335, allocations: 498.5 kB / 3.378 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/8.335, allocations: 11.53 kB / 3.378 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/8.335, allocations: 3.719 kB / 3.378 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/8.335, allocations: 7.688 kB / 3.378 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006725/8.336, allocations: 84.08 kB / 3.378 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/8.336, allocations: 7.938 kB / 3.378 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008816/8.337, allocations: 41.16 kB / 3.378 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/8.337, allocations: 26.75 kB / 3.378 GB, free: 120.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled,senHum.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0001847/8.337, allocations: 131.6 kB / 3.378 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/8.337, allocations: 50.88 kB / 3.378 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/8.339, allocations: 378.3 kB / 3.378 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/8.339, allocations: 3.875 kB / 3.378 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/8.339, allocations: 10.44 kB / 3.378 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/8.339, allocations: 0 / 3.378 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003121/8.342, allocations: 1.147 MB / 3.38 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/8.342, allocations: 3.844 kB / 3.38 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000444/8.342, allocations: 42.25 kB / 3.38 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/8.343, allocations: 3.812 kB / 3.38 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/8.343, allocations: 11.36 kB / 3.38 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/8.343, allocations: 1.312 kB / 3.38 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/8.343, allocations: 13.69 kB / 3.38 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001453/8.344, allocations: 0.609 MB / 3.38 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00181/8.346, allocations: 1.073 MB / 3.381 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004135/8.346, allocations: 161.7 kB / 3.381 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/8.347, allocations: 3.906 kB / 3.381 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005364/8.347, allocations: 11.84 kB / 3.381 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.717e-05/8.347, allocations: 25.86 kB / 3.381 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/8.347, allocations: 13.72 kB / 3.381 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000649/8.348, allocations: 345.3 kB / 3.382 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003254/8.351, allocations: 454.9 kB / 3.382 GB, free: 118.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.003518/8.355, allocations: 1.809 MB / 3.384 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006887/8.355, allocations: 324.9 kB / 3.384 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/8.355, allocations: 0 / 3.384 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/8.356, allocations: 131.8 kB / 3.384 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/8.357, allocations: 201.1 kB / 3.385 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/8.36, allocations: 0.7695 MB / 3.385 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/8.361, allocations: 0.9593 MB / 3.386 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of SimCode: time 7.12e-07/8.361, allocations: 0 / 3.386 GB, free: 116.7 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Humidifiers_Validation_SprayAirWasher_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Humidifiers_Validation_SprayAirWasher_X.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1)