Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X.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,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 181.4 kB / 7.801 MB, free: 1.211 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4614/0.4614, allocations: 90.85 MB / 99.07 MB, free: 8.969 MB / 82.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 221.4 MB / 342.8 MB, free: 1.039 MB / 274.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 97.86 kB / 415.5 MB, free: 0.5547 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1816/0.1826, allocations: 78.44 MB / 493.9 MB, free: 2.129 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.6158, allocations: 72.3 MB / 0.553 GB, free: 71.06 MB / 450.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.553/4.169, allocations: 1.839 GB / 2.392 GB, free: 52.69 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/4.169, allocations: 87.95 kB / 2.392 GB, free: 52.6 MB / 0.6121 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.018/6.187, allocations: 0.6054 GB / 2.998 GB, free: 112.6 MB / 0.6121 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/6.187, allocations: 10.81 kB / 2.998 GB, free: 112.6 MB / 0.6121 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/6.189, allocations: 231.3 kB / 2.998 GB, free: 112.6 MB / 0.6121 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/6.191, allocations: 0.8937 MB / 2.999 GB, free: 112.3 MB / 0.6121 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/6.191, allocations: 11.75 kB / 2.999 GB, free: 112.3 MB / 0.6121 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.238e-05/6.191, allocations: 22.81 kB / 2.999 GB, free: 112.3 MB / 0.6121 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005756/6.192, allocations: 343.1 kB / 2.999 GB, free: 112.3 MB / 0.6121 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/6.192, allocations: 441.7 kB / 3 GB, free: 112.2 MB / 0.6121 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/6.192, allocations: 0 / 3 GB, free: 112.2 MB / 0.6121 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/6.192, allocations: 5.312 kB / 3 GB, free: 112.2 MB / 0.6121 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/6.192, allocations: 21.2 kB / 3 GB, free: 112.2 MB / 0.6121 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002557/6.195, allocations: 2.231 MB / 3.002 GB, free: 110.9 MB / 0.6121 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/6.195, allocations: 230.2 kB / 3.002 GB, free: 110.9 MB / 0.6121 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/6.196, allocations: 118.9 kB / 3.002 GB, free: 110.9 MB / 0.6121 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009107/6.196, allocations: 0.8243 MB / 3.003 GB, free: 110 MB / 0.6121 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/6.197, allocations: 183.2 kB / 3.003 GB, free: 110 MB / 0.6121 GB Notification: Performance of pre-optimization done (n=25): time 3.307e-06/6.197, allocations: 5.562 kB / 3.003 GB, free: 110 MB / 0.6121 GB Notification: Performance of matching and sorting (n=25): time 0.001128/6.198, allocations: 400.1 kB / 3.004 GB, free: 109.9 MB / 0.6121 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/6.198, allocations: 110.4 kB / 3.004 GB, free: 109.8 MB / 0.6121 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/6.198, allocations: 452.1 kB / 3.004 GB, free: 109.7 MB / 0.6121 GB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/6.198, allocations: 29.14 kB / 3.004 GB, free: 109.6 MB / 0.6121 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/6.199, allocations: 256.5 kB / 3.005 GB, free: 109.5 MB / 0.6121 GB Notification: Performance of collectInitialBindings (initialization): time 6.147e-05/6.199, allocations: 79.84 kB / 3.005 GB, free: 109.5 MB / 0.6121 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/6.199, allocations: 0 / 3.005 GB, free: 109.5 MB / 0.6121 GB Notification: Performance of setup shared object (initialization): time 0.0001069/6.199, allocations: 364.6 kB / 3.005 GB, free: 109.1 MB / 0.6121 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/6.199, allocations: 96.7 kB / 3.005 GB, free: 109.1 MB / 0.6121 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/6.199, allocations: 294.2 kB / 3.005 GB, free: 108.9 MB / 0.6121 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005576/6.2, allocations: 225 kB / 3.006 GB, free: 108.9 MB / 0.6121 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/6.2, allocations: 1.344 kB / 3.006 GB, free: 108.9 MB / 0.6121 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001092/6.201, allocations: 475.5 kB / 3.006 GB, free: 108.8 MB / 0.6121 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003474/6.201, allocations: 1.828 MB / 3.008 GB, free: 106.9 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/6.201, allocations: 5.062 kB / 3.008 GB, free: 106.9 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/6.201, allocations: 9.734 kB / 3.008 GB, free: 106.9 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/6.202, allocations: 83.67 kB / 3.008 GB, free: 106.9 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/6.202, allocations: 12.97 kB / 3.008 GB, free: 106.9 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/6.202, allocations: 46.59 kB / 3.008 GB, free: 106.9 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/6.202, allocations: 25.53 kB / 3.008 GB, free: 106.9 MB / 0.6121 GB Notification: Performance of prepare postOptimizeDAE: time 6.122e-06/6.202, allocations: 3.969 kB / 3.008 GB, free: 106.9 MB / 0.6121 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006932/6.203, allocations: 384.8 kB / 3.008 GB, free: 106.9 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/6.203, allocations: 7.094 kB / 3.008 GB, free: 106.9 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.953e-06/6.203, allocations: 6.844 kB / 3.008 GB, free: 106.9 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/6.203, allocations: 81.34 kB / 3.008 GB, free: 106.9 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/6.203, allocations: 10.56 kB / 3.008 GB, free: 106.9 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/6.203, allocations: 32.91 kB / 3.008 GB, free: 106.9 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/6.204, allocations: 26.25 kB / 3.008 GB, free: 106.9 MB / 0.6121 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 9.84e-05/6.204, allocations: 118.5 kB / 3.009 GB, free: 106.8 MB / 0.6121 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/6.204, allocations: 56.81 kB / 3.009 GB, free: 106.8 MB / 0.6121 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007319/6.204, allocations: 368.5 kB / 3.009 GB, free: 106.7 MB / 0.6121 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/6.204, allocations: 9.625 kB / 3.009 GB, free: 106.7 MB / 0.6121 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/6.204, allocations: 0 / 3.009 GB, free: 106.7 MB / 0.6121 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/6.204, allocations: 0 / 3.009 GB, free: 106.7 MB / 0.6121 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/6.206, allocations: 1.148 MB / 3.01 GB, free: 106.2 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/6.206, allocations: 10.17 kB / 3.01 GB, free: 106.2 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/6.206, allocations: 48.67 kB / 3.01 GB, free: 106.2 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/6.206, allocations: 4 kB / 3.01 GB, free: 106.2 MB / 0.6121 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/6.206, allocations: 5.406 kB / 3.01 GB, free: 106.2 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/6.206, allocations: 9.234 kB / 3.01 GB, free: 106.2 MB / 0.6121 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/6.206, allocations: 2.094 kB / 3.01 GB, free: 106.2 MB / 0.6121 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007725/6.207, allocations: 0.6283 MB / 3.011 GB, free: 105.9 MB / 0.6121 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001002/6.208, allocations: 1.075 MB / 3.012 GB, free: 105.1 MB / 0.6121 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/6.208, allocations: 160.6 kB / 3.012 GB, free: 105 MB / 0.6121 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.581e-05/6.208, allocations: 10.09 kB / 3.012 GB, free: 105 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/6.209, allocations: 10.47 kB / 3.012 GB, free: 105 MB / 0.6121 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/6.209, allocations: 22.44 kB / 3.012 GB, free: 105 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/6.209, allocations: 16.41 kB / 3.012 GB, free: 105 MB / 0.6121 GB Notification: Performance of sort global known variables: time 0.0004226/6.209, allocations: 352.4 kB / 3.012 GB, free: 104.9 MB / 0.6121 GB Notification: Performance of remove unused functions: time 0.002958/6.212, allocations: 0.7229 MB / 3.013 GB, free: 104.9 MB / 0.6121 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.002637/6.215, allocations: 1.773 MB / 3.015 GB, free: 104.5 MB / 0.6121 GB Notification: Performance of simCode: created initialization part: time 0.000901/6.216, allocations: 461.9 kB / 3.015 GB, free: 104.4 MB / 0.6121 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/6.216, allocations: 0 / 3.015 GB, free: 104.4 MB / 0.6121 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/6.216, allocations: 128.4 kB / 3.015 GB, free: 104.4 MB / 0.6121 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/6.217, allocations: 182.3 kB / 3.016 GB, free: 104.4 MB / 0.6121 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/6.221, allocations: 1.529 MB / 3.017 GB, free: 104.1 MB / 0.6121 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005453/6.222, allocations: 0.9697 MB / 3.018 GB, free: 103.4 MB / 0.6121 GB Notification: Performance of SimCode: time 5.2e-07/6.222, allocations: 1.062 kB / 3.018 GB, free: 103.4 MB / 0.6121 GB (rm -f IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Humidifiers_Validation_SprayAirWasher_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Humidifiers_Validation_SprayAirWasher_X.fmu > IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1)