Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",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 10.0.0-master/package.mo): time 2.336/2.336, allocations: 390.4 MB / 397.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 185.2 kB / 490.8 MB, free: 1.965 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 221.3 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 88.69 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7068/0.7078, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/1.009, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.211/6.22, allocations: 1.933 GB / 3.144 GB, free: 401.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/6.221, allocations: 91.84 kB / 3.144 GB, free: 401.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 3.744/9.964, allocations: 1.054 GB / 4.199 GB, free: 187 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/9.964, allocations: 8 kB / 4.199 GB, free: 187 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004929/9.969, allocations: 0.6557 MB / 4.199 GB, free: 186.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004646/9.974, allocations: 1.471 MB / 4.201 GB, free: 184.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003952/9.974, allocations: 121.7 kB / 4.201 GB, free: 184.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004963/9.975, allocations: 82.91 kB / 4.201 GB, free: 184.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002635/9.978, allocations: 1.024 MB / 4.202 GB, free: 183.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003667/9.981, allocations: 1.234 MB / 4.203 GB, free: 182.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.172e-05/9.981, allocations: 0 / 4.203 GB, free: 182.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000239/9.982, allocations: 9.594 kB / 4.203 GB, free: 182.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.631e-05/9.982, allocations: 46.25 kB / 4.203 GB, free: 182.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01327/9.995, allocations: 6.235 MB / 4.209 GB, free: 175.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/9.996, allocations: 0.832 MB / 4.21 GB, free: 175.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006656/9.997, allocations: 475.5 kB / 4.211 GB, free: 174.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007525/9.998, allocations: 485.1 kB / 4.211 GB, free: 174.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008647/9.999, allocations: 0.5332 MB / 4.212 GB, free: 173.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=85): time 4.358e-06/9.999, allocations: 3.844 kB / 4.212 GB, free: 173.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=87): time 0.008042/10.01, allocations: 2.551 MB / 4.214 GB, free: 170.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/10.01, allocations: 196.5 kB / 4.214 GB, free: 170.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/10.01, allocations: 0.9247 MB / 4.215 GB, free: 169.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001681/10.01, allocations: 29.7 kB / 4.215 GB, free: 169.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005657/10.01, allocations: 497.3 kB / 4.216 GB, free: 169.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003556/10.01, allocations: 287.7 kB / 4.216 GB, free: 168.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/10.01, allocations: 0 / 4.216 GB, free: 168.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001047/10.01, allocations: 345.8 kB / 4.216 GB, free: 168.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006064/10.01, allocations: 349.9 kB / 4.217 GB, free: 168.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000738/10.01, allocations: 0.5752 MB / 4.217 GB, free: 167.6 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start (sin.p = humDyn.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004892/10.02, allocations: 1.653 MB / 4.219 GB, free: 166 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/10.02, allocations: 3.938 kB / 4.219 GB, free: 166 MB / 1.151 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002846/10.02, allocations: 1.139 MB / 4.22 GB, free: 164.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005126/10.02, allocations: 1.433 MB / 4.221 GB, free: 163.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/10.02, allocations: 4 kB / 4.221 GB, free: 163.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002103/10.02, allocations: 48.84 kB / 4.221 GB, free: 163.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/10.02, allocations: 223.3 kB / 4.222 GB, free: 163.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005732/10.02, allocations: 0.5991 MB / 4.222 GB, free: 162.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/10.02, allocations: 136.8 kB / 4.222 GB, free: 162.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/10.02, allocations: 42.95 kB / 4.222 GB, free: 162.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/10.02, allocations: 7.281 kB / 4.222 GB, free: 162.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002076/10.03, allocations: 0.9462 MB / 4.223 GB, free: 161.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/10.03, allocations: 4 kB / 4.223 GB, free: 161.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/10.03, allocations: 52.77 kB / 4.223 GB, free: 161.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009752/10.03, allocations: 213.3 kB / 4.223 GB, free: 161.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/10.03, allocations: 1.469 MB / 4.225 GB, free: 159.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/10.03, allocations: 134.7 kB / 4.225 GB, free: 159.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/10.03, allocations: 36.05 kB / 4.225 GB, free: 159.3 MB / 1.151 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003774/10.03, allocations: 168.9 kB / 4.225 GB, free: 159.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004264/10.03, allocations: 150.2 kB / 4.225 GB, free: 159 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/10.03, allocations: 1.117 MB / 4.226 GB, free: 157.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/10.03, allocations: 12 kB / 4.226 GB, free: 157.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/10.03, allocations: 0 / 4.226 GB, free: 157.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001574/10.04, allocations: 0.9889 MB / 4.227 GB, free: 156.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006159/10.04, allocations: 2.726 MB / 4.23 GB, free: 154.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/10.04, allocations: 4 kB / 4.23 GB, free: 154.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/10.04, allocations: 202.7 kB / 4.23 GB, free: 153.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001335/10.04, allocations: 43.8 kB / 4.23 GB, free: 153.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.389e-05/10.04, allocations: 19.98 kB / 4.23 GB, free: 153.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003257/10.04, allocations: 0.5982 MB / 4.231 GB, free: 153.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/10.04, allocations: 4 kB / 4.231 GB, free: 153.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002886/10.05, allocations: 2.007 MB / 4.233 GB, free: 151 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004196/10.05, allocations: 3.076 MB / 4.236 GB, free: 147.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/10.05, allocations: 339.2 kB / 4.236 GB, free: 147.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006136/10.05, allocations: 16 kB / 4.236 GB, free: 147.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/10.05, allocations: 129.6 kB / 4.236 GB, free: 147.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/10.06, allocations: 55.06 kB / 4.236 GB, free: 147.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/10.06, allocations: 39.98 kB / 4.236 GB, free: 147.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001486/10.06, allocations: 0.7031 MB / 4.237 GB, free: 146.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006984/10.06, allocations: 1.441 MB / 4.239 GB, free: 145 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.medium.Xi[1],humDyn.vol.dynBal.U,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005323/10.07, allocations: 2.648 MB / 4.241 GB, free: 142.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003744/10.07, allocations: 1.588 MB / 4.243 GB, free: 141.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/10.07, allocations: 0 / 4.243 GB, free: 141.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009002/10.07, allocations: 0.5079 MB / 4.243 GB, free: 140.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004103/10.08, allocations: 0.6752 MB / 4.244 GB, free: 139.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0081/10.09, allocations: 2.642 MB / 4.246 GB, free: 137.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001651/10.09, allocations: 1.505 MB / 4.248 GB, free: 135.7 MB / 1.151 GB Notification: Performance of SimCode: time 2.184e-06/10.09, allocations: 0 / 4.248 GB, free: 135.7 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Humidifiers_Examples_Humidifier_u.fmu > Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)