Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.157/2.157, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.001061/0.001061, allocations: 183.8 kB / 487 MB, free: 5.367 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.366/1.366, allocations: 221.3 MB / 0.7819 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 93.61 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6495/0.6506, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.9558, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.277/5.233, allocations: 1.932 GB / 3.137 GB, free: 386.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/5.233, allocations: 85.27 kB / 3.137 GB, free: 386.8 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.271/8.505, allocations: 1.054 GB / 4.191 GB, free: 181 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/8.505, allocations: 15 kB / 4.192 GB, free: 180.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004446/8.509, allocations: 0.6557 MB / 4.192 GB, free: 180.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003638/8.513, allocations: 1.474 MB / 4.194 GB, free: 178.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003536/8.513, allocations: 129.3 kB / 4.194 GB, free: 178.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/8.514, allocations: 75.94 kB / 4.194 GB, free: 178.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00201/8.516, allocations: 1.032 MB / 4.195 GB, free: 177.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/8.518, allocations: 1.23 MB / 4.196 GB, free: 176.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/8.518, allocations: 3.938 kB / 4.196 GB, free: 176.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/8.518, allocations: 6.344 kB / 4.196 GB, free: 176.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.848e-05/8.518, allocations: 38.27 kB / 4.196 GB, free: 176.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008562/8.526, allocations: 6.231 MB / 4.202 GB, free: 169.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/8.528, allocations: 0.8411 MB / 4.203 GB, free: 169 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005574/8.528, allocations: 483.4 kB / 4.203 GB, free: 168.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006098/8.529, allocations: 487.6 kB / 4.204 GB, free: 168 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006762/8.529, allocations: 0.5274 MB / 4.204 GB, free: 167.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=85): time 3.928e-06/8.529, allocations: 3.391 kB / 4.204 GB, free: 167.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=87): time 0.00641/8.536, allocations: 2.558 MB / 4.207 GB, free: 164.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.233e-05/8.536, allocations: 192.6 kB / 4.207 GB, free: 164.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/8.537, allocations: 0.9282 MB / 4.208 GB, free: 163.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/8.537, allocations: 25.7 kB / 4.208 GB, free: 163.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003414/8.538, allocations: 497.4 kB / 4.208 GB, free: 163.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/8.538, allocations: 287.6 kB / 4.209 GB, free: 162.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/8.538, allocations: 0 / 4.209 GB, free: 162.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.972e-05/8.538, allocations: 341.9 kB / 4.209 GB, free: 162.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004597/8.539, allocations: 349.9 kB / 4.209 GB, free: 162.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006423/8.539, allocations: 0.5793 MB / 4.21 GB, free: 161.5 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.004303/8.544, allocations: 1.645 MB / 4.212 GB, free: 159.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/8.544, allocations: 4 kB / 4.212 GB, free: 159.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002151/8.546, allocations: 1.14 MB / 4.213 GB, free: 158.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003779/8.546, allocations: 1.432 MB / 4.214 GB, free: 157.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/8.546, allocations: 4 kB / 4.214 GB, free: 157.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/8.546, allocations: 51.41 kB / 4.214 GB, free: 157.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/8.547, allocations: 214.5 kB / 4.214 GB, free: 157 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004906/8.548, allocations: 0.6056 MB / 4.215 GB, free: 156.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/8.55, allocations: 129 kB / 4.215 GB, free: 156.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/8.55, allocations: 36.05 kB / 4.215 GB, free: 156.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/8.55, allocations: 4 kB / 4.215 GB, free: 156.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001636/8.551, allocations: 0.9541 MB / 4.216 GB, free: 155.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/8.551, allocations: 4 kB / 4.216 GB, free: 155.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001282/8.552, allocations: 47.48 kB / 4.216 GB, free: 155.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000905/8.552, allocations: 223.4 kB / 4.216 GB, free: 155 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/8.554, allocations: 1.472 MB / 4.218 GB, free: 153.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/8.555, allocations: 133.9 kB / 4.218 GB, free: 153.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.73e-05/8.555, allocations: 40.05 kB / 4.218 GB, free: 153.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.0003159/8.556, allocations: 174 kB / 4.218 GB, free: 153.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/8.556, allocations: 146.2 kB / 4.218 GB, free: 152.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/8.558, allocations: 1.11 MB / 4.219 GB, free: 151.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/8.558, allocations: 8 kB / 4.219 GB, free: 151.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/8.558, allocations: 0 / 4.219 GB, free: 151.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001389/8.56, allocations: 1.001 MB / 4.22 GB, free: 150.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004676/8.564, allocations: 2.722 MB / 4.223 GB, free: 148 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/8.564, allocations: 7.938 kB / 4.223 GB, free: 148 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009886/8.565, allocations: 204.2 kB / 4.223 GB, free: 147.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/8.565, allocations: 40.84 kB / 4.223 GB, free: 147.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-05/8.566, allocations: 19.98 kB / 4.223 GB, free: 147.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002806/8.566, allocations: 0.5874 MB / 4.224 GB, free: 147.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/8.566, allocations: 12 kB / 4.224 GB, free: 147.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002429/8.568, allocations: 1.997 MB / 4.226 GB, free: 144.9 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003618/8.572, allocations: 3.071 MB / 4.229 GB, free: 141.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009125/8.573, allocations: 342.2 kB / 4.229 GB, free: 141.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004651/8.573, allocations: 11.98 kB / 4.229 GB, free: 141.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/8.575, allocations: 135.7 kB / 4.229 GB, free: 141.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/8.575, allocations: 56.44 kB / 4.229 GB, free: 141.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.795e-05/8.575, allocations: 43.92 kB / 4.229 GB, free: 141 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001068/8.576, allocations: 0.7031 MB / 4.23 GB, free: 140.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005832/8.582, allocations: 1.441 MB / 4.231 GB, free: 138.9 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.003595/8.586, allocations: 2.637 MB / 4.234 GB, free: 136.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002508/8.588, allocations: 1.593 MB / 4.236 GB, free: 134.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/8.588, allocations: 0 / 4.236 GB, free: 134.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006468/8.589, allocations: 0.5076 MB / 4.236 GB, free: 134.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003653/8.593, allocations: 0.6855 MB / 4.237 GB, free: 133.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006792/8.599, allocations: 2.636 MB / 4.239 GB, free: 130.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/8.601, allocations: 1.505 MB / 4.241 GB, free: 129.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.203e-06/8.601, allocations: 3.391 kB / 4.241 GB, free: 129.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Humidifiers_Examples_Humidifier_u.fmu > Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)