Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",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.159/2.159, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001291/0.001291, allocations: 177.3 kB / 490.8 MB, free: 1.953 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.603/1.603, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.001066/0.001066, allocations: 95.55 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7644/0.7656, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/1.101, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.428/6.529, allocations: 2.195 GB / 3.407 GB, free: 109.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/6.529, allocations: 91.8 kB / 3.407 GB, free: 109.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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 3.425/9.954, allocations: 0.9264 GB / 4.334 GB, free: 45.81 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/9.954, allocations: 8 kB / 4.334 GB, free: 45.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003751/9.958, allocations: 0.564 MB / 4.334 GB, free: 45.24 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004092/9.962, allocations: 1.244 MB / 4.335 GB, free: 43.94 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00065/9.963, allocations: 181.9 kB / 4.335 GB, free: 43.76 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004079/9.963, allocations: 60 kB / 4.336 GB, free: 43.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002055/9.965, allocations: 0.9372 MB / 4.336 GB, free: 42.77 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/9.967, allocations: 1.043 MB / 4.337 GB, free: 41.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/9.967, allocations: 0 / 4.337 GB, free: 41.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/9.967, allocations: 0 / 4.337 GB, free: 41.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.694e-05/9.967, allocations: 41.98 kB / 4.337 GB, free: 41.66 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009743/9.977, allocations: 4.949 MB / 4.342 GB, free: 36.43 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/9.978, allocations: 0.807 MB / 4.343 GB, free: 35.59 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000594/9.979, allocations: 459.1 kB / 4.344 GB, free: 35.14 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/9.98, allocations: 0.85 MB / 4.344 GB, free: 34.12 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008247/9.981, allocations: 0.6108 MB / 4.345 GB, free: 33.48 MB / 1.151 GB Notification: Performance of pre-optimization done (n=84): time 4.168e-06/9.981, allocations: 3.938 kB / 4.345 GB, free: 33.48 MB / 1.151 GB Notification: Performance of matching and sorting (n=84): time 0.003235/9.984, allocations: 1.094 MB / 4.346 GB, free: 32.38 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/9.984, allocations: 145.2 kB / 4.346 GB, free: 32.21 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/9.986, allocations: 0.7461 MB / 4.347 GB, free: 31.45 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001927/9.986, allocations: 29.7 kB / 4.347 GB, free: 31.41 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005125/9.987, allocations: 384.3 kB / 4.347 GB, free: 31.03 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/9.987, allocations: 256.1 kB / 4.348 GB, free: 30.77 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-05/9.987, allocations: 4 kB / 4.348 GB, free: 30.77 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001038/9.987, allocations: 346 kB / 4.348 GB, free: 30.43 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000639/9.988, allocations: 385.9 kB / 4.348 GB, free: 30.05 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000764/9.989, allocations: 0.5997 MB / 4.349 GB, free: 29.37 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/9.99, allocations: 0.5608 MB / 4.349 GB, free: 28.81 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/9.99, allocations: 0 / 4.349 GB, free: 28.81 MB / 1.151 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00311/9.994, allocations: 1.243 MB / 4.351 GB, free: 27.56 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004001/9.994, allocations: 1.14 MB / 4.352 GB, free: 26.33 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/9.994, allocations: 4 kB / 4.352 GB, free: 26.33 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.695e-05/9.994, allocations: 8 kB / 4.352 GB, free: 26.32 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/9.995, allocations: 275.6 kB / 4.352 GB, free: 26.05 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/9.996, allocations: 8 kB / 4.352 GB, free: 26.04 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/9.998, allocations: 195 kB / 4.352 GB, free: 25.85 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/9.998, allocations: 59.94 kB / 4.352 GB, free: 25.79 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/9.998, allocations: 4 kB / 4.352 GB, free: 25.79 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002629/10, allocations: 1.098 MB / 4.353 GB, free: 24.69 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/10, allocations: 4 kB / 4.353 GB, free: 24.69 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/10, allocations: 8 kB / 4.353 GB, free: 24.68 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/10, allocations: 275.8 kB / 4.354 GB, free: 24.41 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/10, allocations: 8 kB / 4.354 GB, free: 24.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/10, allocations: 179.1 kB / 4.354 GB, free: 24.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/10, allocations: 55.95 kB / 4.354 GB, free: 24.17 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 2 * 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.0004099/10, allocations: 188.7 kB / 4.354 GB, free: 23.97 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004519/10, allocations: 118.6 kB / 4.354 GB, free: 23.85 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/10.01, allocations: 1.263 MB / 4.355 GB, free: 22.58 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/10.01, allocations: 8 kB / 4.355 GB, free: 22.57 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/10.01, allocations: 3.938 kB / 4.355 GB, free: 22.57 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/10.01, allocations: 3.984 kB / 4.355 GB, free: 22.57 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0055/10.01, allocations: 2.678 MB / 4.358 GB, free: 19.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/10.01, allocations: 8.062 kB / 4.358 GB, free: 19.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/10.01, allocations: 215.7 kB / 4.358 GB, free: 19.59 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.787e-05/10.01, allocations: 4 kB / 4.358 GB, free: 19.58 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/10.01, allocations: 27.97 kB / 4.358 GB, free: 19.55 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.307e-06/10.01, allocations: 8 kB / 4.358 GB, free: 19.55 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/10.01, allocations: 4 kB / 4.358 GB, free: 19.54 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003443/10.02, allocations: 2.088 MB / 4.36 GB, free: 17.33 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004736/10.02, allocations: 3.191 MB / 4.363 GB, free: 14.01 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009739/10.02, allocations: 351.2 kB / 4.364 GB, free: 13.64 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003834/10.02, allocations: 15.98 kB / 4.364 GB, free: 13.63 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0016/10.03, allocations: 143.8 kB / 4.364 GB, free: 13.49 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/10.03, allocations: 60.52 kB / 4.364 GB, free: 13.43 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/10.03, allocations: 47.97 kB / 4.364 GB, free: 13.38 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.00109/10.03, allocations: 0.5578 MB / 4.365 GB, free: 12.82 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006274/10.03, allocations: 1.518 MB / 4.366 GB, free: 11.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.004621/10.04, allocations: 2.441 MB / 4.368 GB, free: 8.77 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002968/10.04, allocations: 1.667 MB / 4.37 GB, free: 7.082 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/10.04, allocations: 0 / 4.37 GB, free: 7.082 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007857/10.04, allocations: 0.5933 MB / 4.371 GB, free: 6.477 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/10.04, allocations: 415.8 kB / 4.371 GB, free: 6.07 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005393/10.05, allocations: 1.818 MB / 4.373 GB, free: 4.176 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/10.05, allocations: 1.317 MB / 4.374 GB, free: 2.832 MB / 1.151 GB Notification: Performance of SimCode: time 9.62e-07/10.05, allocations: 0 / 4.374 GB, free: 2.832 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)