Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.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.Examples.Humidifier_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 190.5 kB / 7.805 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4694/0.4694, allocations: 90.84 MB / 99.07 MB, free: 14.93 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.358/1.358, allocations: 221.4 MB / 342.7 MB, free: 5.113 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.0009877/0.0009878, allocations: 95.77 kB / 415.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2005/0.2015, allocations: 78.43 MB / 493.9 MB, free: 7.957 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.6532, allocations: 72.3 MB / 0.553 GB, free: 73.35 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.818/4.471, allocations: 1.885 GB / 2.438 GB, free: 199.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/4.472, allocations: 87.7 kB / 2.438 GB, free: 199.8 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 3.299/7.77, allocations: 1.054 GB / 3.492 GB, free: 55.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/7.77, allocations: 15.94 kB / 3.492 GB, free: 55.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003768/7.774, allocations: 0.6566 MB / 3.493 GB, free: 55.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/7.777, allocations: 1.476 MB / 3.495 GB, free: 53.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000357/7.777, allocations: 126.3 kB / 3.495 GB, free: 53.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/7.778, allocations: 72 kB / 3.495 GB, free: 53.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001769/7.779, allocations: 1.032 MB / 3.496 GB, free: 52.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/7.781, allocations: 1.233 MB / 3.497 GB, free: 51.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/7.781, allocations: 0 / 3.497 GB, free: 51.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/7.781, allocations: 4 kB / 3.497 GB, free: 51.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/7.781, allocations: 38.27 kB / 3.497 GB, free: 51.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007516/7.789, allocations: 6.248 MB / 3.503 GB, free: 44.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/7.79, allocations: 0.8305 MB / 3.504 GB, free: 43.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006022/7.791, allocations: 475.5 kB / 3.504 GB, free: 43.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000599/7.791, allocations: 491.6 kB / 3.505 GB, free: 42.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006528/7.792, allocations: 0.5248 MB / 3.505 GB, free: 42.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=85): time 3.877e-06/7.792, allocations: 0 / 3.505 GB, free: 42.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=87): time 0.006087/7.798, allocations: 2.56 MB / 3.508 GB, free: 39.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/7.798, allocations: 191 kB / 3.508 GB, free: 39.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/7.8, allocations: 0.9213 MB / 3.509 GB, free: 38.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-05/7.8, allocations: 29.7 kB / 3.509 GB, free: 38.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/7.8, allocations: 0.4895 MB / 3.509 GB, free: 38.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/7.8, allocations: 283.7 kB / 3.51 GB, free: 37.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/7.8, allocations: 10.39 kB / 3.51 GB, free: 37.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.715e-05/7.8, allocations: 341.9 kB / 3.51 GB, free: 37.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004872/7.801, allocations: 349.9 kB / 3.51 GB, free: 37.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/7.802, allocations: 0.5711 MB / 3.511 GB, free: 36.43 MB / 0.6198 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.004412/7.806, allocations: 1.652 MB / 3.513 GB, free: 34.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/7.806, allocations: 4 kB / 3.513 GB, free: 34.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002029/7.808, allocations: 1.14 MB / 3.514 GB, free: 33.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002246/7.808, allocations: 1.428 MB / 3.515 GB, free: 32.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/7.808, allocations: 7.984 kB / 3.515 GB, free: 32.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/7.808, allocations: 48.84 kB / 3.515 GB, free: 32.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009871/7.809, allocations: 207.8 kB / 3.515 GB, free: 31.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000372/7.81, allocations: 0.6147 MB / 3.516 GB, free: 31.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/7.811, allocations: 131.8 kB / 3.516 GB, free: 31.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.802e-05/7.811, allocations: 43.95 kB / 3.516 GB, free: 31.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/7.811, allocations: 4 kB / 3.516 GB, free: 31.06 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00161/7.813, allocations: 0.9465 MB / 3.517 GB, free: 30.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/7.813, allocations: 4 kB / 3.517 GB, free: 30.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/7.813, allocations: 49.3 kB / 3.517 GB, free: 30.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009523/7.814, allocations: 219.7 kB / 3.517 GB, free: 29.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/7.815, allocations: 1.472 MB / 3.519 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/7.817, allocations: 131.8 kB / 3.519 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.885e-05/7.817, allocations: 40.05 kB / 3.519 GB, free: 28.09 MB / 0.6198 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.0002702/7.817, allocations: 170.3 kB / 3.519 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/7.818, allocations: 146.2 kB / 3.519 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/7.82, allocations: 1.117 MB / 3.52 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/7.82, allocations: 8 kB / 3.52 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/7.82, allocations: 0.875 kB / 3.52 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001431/7.821, allocations: 0.9924 MB / 3.521 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004382/7.826, allocations: 2.732 MB / 3.524 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/7.826, allocations: 4.5 kB / 3.524 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/7.827, allocations: 195.8 kB / 3.524 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001117/7.827, allocations: 40.84 kB / 3.524 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.557e-05/7.827, allocations: 23.89 kB / 3.524 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002989/7.827, allocations: 0.5991 MB / 3.525 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/7.827, allocations: 7.938 kB / 3.525 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00245/7.83, allocations: 1.995 MB / 3.527 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003671/7.833, allocations: 3.096 MB / 3.53 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000727/7.834, allocations: 335.2 kB / 3.53 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003037/7.834, allocations: 8 kB / 3.53 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/7.836, allocations: 131.7 kB / 3.53 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/7.836, allocations: 60.44 kB / 3.53 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.637e-05/7.836, allocations: 43.97 kB / 3.53 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001179/7.837, allocations: 0.7031 MB / 3.531 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005354/7.843, allocations: 1.433 MB / 3.532 GB, free: 13.7 MB / 0.6198 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.003298/7.846, allocations: 2.623 MB / 3.535 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002584/7.849, allocations: 1.594 MB / 3.536 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/7.849, allocations: 0 / 3.536 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007054/7.849, allocations: 0.5097 MB / 3.537 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003635/7.853, allocations: 0.6821 MB / 3.538 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007603/7.861, allocations: 2.644 MB / 3.54 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/7.862, allocations: 1.505 MB / 3.542 GB, free: 4.215 MB / 0.6198 GB Notification: Performance of SimCode: time 1.001e-06/7.862, allocations: 0 / 3.542 GB, free: 4.215 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Humidifiers_Examples_Humidifier_u.fmu > IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)