Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",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/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 187.9 kB / 7.808 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.463/0.463, allocations: 90.86 MB / 99.08 MB, free: 14.98 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 221.4 MB / 342.8 MB, free: 5.285 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 91.64 kB / 415.5 MB, free: 6.477 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1886/0.1897, allocations: 78.46 MB / 494 MB, free: 8.027 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.6358, allocations: 72.29 MB / 0.553 GB, free: 73.4 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.917/4.553, allocations: 1.84 GB / 2.393 GB, free: 235.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/4.553, allocations: 84.67 kB / 2.393 GB, free: 235.2 MB / 0.6042 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.078/7.631, allocations: 0.9758 GB / 3.368 GB, free: 118.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/7.631, allocations: 11.78 kB / 3.368 GB, free: 118.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/7.632, allocations: 236.3 kB / 3.369 GB, free: 118.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/7.634, allocations: 0.8805 MB / 3.369 GB, free: 118.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/7.635, allocations: 11.03 kB / 3.369 GB, free: 118.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-05/7.635, allocations: 30.08 kB / 3.37 GB, free: 118.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005824/7.635, allocations: 341.2 kB / 3.37 GB, free: 118.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005867/7.636, allocations: 444.7 kB / 3.37 GB, free: 118.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/7.636, allocations: 3.844 kB / 3.37 GB, free: 118.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/7.636, allocations: 3.594 kB / 3.37 GB, free: 118.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/7.636, allocations: 17.73 kB / 3.37 GB, free: 118.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002697/7.639, allocations: 2.252 MB / 3.372 GB, free: 117.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/7.639, allocations: 246.5 kB / 3.373 GB, free: 117.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/7.639, allocations: 136 kB / 3.373 GB, free: 117.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000909/7.64, allocations: 0.8168 MB / 3.374 GB, free: 116.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/7.64, allocations: 194 kB / 3.374 GB, free: 116.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 2.234e-06/7.64, allocations: 0 / 3.374 GB, free: 116.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001088/7.641, allocations: 412.4 kB / 3.374 GB, free: 116.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/7.641, allocations: 110.6 kB / 3.374 GB, free: 116 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004649/7.642, allocations: 455.2 kB / 3.375 GB, free: 115.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/7.642, allocations: 25.7 kB / 3.375 GB, free: 115.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/7.642, allocations: 257.2 kB / 3.375 GB, free: 115.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.766e-05/7.642, allocations: 89.61 kB / 3.375 GB, free: 115.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-05/7.642, allocations: 0 / 3.375 GB, free: 115.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001049/7.642, allocations: 360.9 kB / 3.375 GB, free: 115.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/7.642, allocations: 112.1 kB / 3.376 GB, free: 115.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/7.643, allocations: 293.7 kB / 3.376 GB, free: 115.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/7.643, allocations: 228.6 kB / 3.376 GB, free: 115.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/7.643, allocations: 3.75 kB / 3.376 GB, free: 115.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008318/7.644, allocations: 489.1 kB / 3.377 GB, free: 115 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004214/7.644, allocations: 1.839 MB / 3.378 GB, free: 113.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/7.644, allocations: 3.938 kB / 3.378 GB, free: 113.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/7.645, allocations: 7.094 kB / 3.378 GB, free: 113.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/7.645, allocations: 88.19 kB / 3.378 GB, free: 113.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/7.645, allocations: 10.84 kB / 3.378 GB, free: 113.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/7.645, allocations: 50.44 kB / 3.378 GB, free: 113.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/7.645, allocations: 26.14 kB / 3.379 GB, free: 113.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/7.645, allocations: 3.594 kB / 3.379 GB, free: 113.1 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007124/7.646, allocations: 409.6 kB / 3.379 GB, free: 113.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/7.646, allocations: 3.875 kB / 3.379 GB, free: 113.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.492e-06/7.646, allocations: 7.844 kB / 3.379 GB, free: 113.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/7.647, allocations: 90.09 kB / 3.379 GB, free: 113.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/7.647, allocations: 11.47 kB / 3.379 GB, free: 113.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/7.647, allocations: 33.89 kB / 3.379 GB, free: 113.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/7.647, allocations: 26.62 kB / 3.379 GB, free: 113.1 MB / 0.6198 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 (49): * Single equations (assignments): 49 * 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.0001021/7.647, allocations: 125.3 kB / 3.379 GB, free: 113 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.276e-05/7.647, allocations: 53.91 kB / 3.379 GB, free: 113 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000733/7.648, allocations: 377.8 kB / 3.38 GB, free: 112.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/7.648, allocations: 11.72 kB / 3.38 GB, free: 112.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/7.648, allocations: 0 / 3.38 GB, free: 112.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/7.648, allocations: 0 / 3.38 GB, free: 112.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/7.649, allocations: 1.182 MB / 3.381 GB, free: 112.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/7.649, allocations: 0 / 3.381 GB, free: 112.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/7.65, allocations: 53.23 kB / 3.381 GB, free: 112.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/7.65, allocations: 3.219 kB / 3.381 GB, free: 112.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/7.65, allocations: 3.938 kB / 3.381 GB, free: 112.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/7.65, allocations: 10.03 kB / 3.381 GB, free: 112.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/7.65, allocations: 3.938 kB / 3.381 GB, free: 112.4 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009712/7.651, allocations: 0.7793 MB / 3.382 GB, free: 112 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001394/7.652, allocations: 1.38 MB / 3.383 GB, free: 111.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/7.652, allocations: 166.8 kB / 3.383 GB, free: 111.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.853e-05/7.652, allocations: 7.656 kB / 3.383 GB, free: 111.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/7.653, allocations: 17.52 kB / 3.383 GB, free: 111.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.497e-05/7.653, allocations: 17.55 kB / 3.383 GB, free: 111.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/7.653, allocations: 14.8 kB / 3.383 GB, free: 111.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0003844/7.653, allocations: 347.3 kB / 3.383 GB, free: 111.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002995/7.656, allocations: 0.7307 MB / 3.384 GB, free: 111 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * 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 (28): * Single equations (assignments): 26 * 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.002396/7.659, allocations: 1.78 MB / 3.386 GB, free: 110.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008194/7.659, allocations: 495.7 kB / 3.386 GB, free: 110.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/7.66, allocations: 0 / 3.386 GB, free: 110.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/7.66, allocations: 135.2 kB / 3.387 GB, free: 110.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/7.661, allocations: 189.4 kB / 3.387 GB, free: 110.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004152/7.665, allocations: 1.655 MB / 3.388 GB, free: 110.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004836/7.665, allocations: 0.9679 MB / 3.389 GB, free: 109.6 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/7.665, allocations: 7.406 kB / 3.389 GB, free: 109.6 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1)