Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.093/2.093, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001501/0.001501, allocations: 184.4 kB / 487 MB, free: 5.41 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.436/1.436, allocations: 221.3 MB / 0.7819 GB, free: 1.41 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.0009324/0.0009323, allocations: 97.88 kB / 0.9213 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6234/0.6244, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.9138, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.441/5.355, allocations: 2.194 GB / 3.4 GB, free: 83.89 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/5.355, allocations: 88.89 kB / 3.4 GB, free: 83.85 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.066/8.421, allocations: 0.9264 GB / 4.326 GB, free: 34.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/8.421, allocations: 8 kB / 4.326 GB, free: 34.49 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003716/8.425, allocations: 0.5679 MB / 4.327 GB, free: 33.92 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00386/8.429, allocations: 1.241 MB / 4.328 GB, free: 32.63 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00061/8.429, allocations: 185.9 kB / 4.328 GB, free: 32.45 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/8.43, allocations: 63.94 kB / 4.328 GB, free: 32.39 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001551/8.431, allocations: 0.941 MB / 4.329 GB, free: 31.45 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/8.433, allocations: 1.039 MB / 4.33 GB, free: 30.38 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/8.433, allocations: 3.938 kB / 4.33 GB, free: 30.38 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.746e-05/8.433, allocations: 0 / 4.33 GB, free: 30.38 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.454e-05/8.433, allocations: 41.98 kB / 4.33 GB, free: 30.34 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008376/8.441, allocations: 4.912 MB / 4.335 GB, free: 25.13 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/8.442, allocations: 0.8253 MB / 4.336 GB, free: 24.28 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005205/8.443, allocations: 459.3 kB / 4.336 GB, free: 23.83 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000996/8.444, allocations: 0.8467 MB / 4.337 GB, free: 22.81 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007063/8.445, allocations: 0.6147 MB / 4.337 GB, free: 22.17 MB / 1.151 GB Notification: Performance of pre-optimization done (n=85): time 3.917e-06/8.445, allocations: 0 / 4.337 GB, free: 22.17 MB / 1.151 GB Notification: Performance of matching and sorting (n=85): time 0.002643/8.447, allocations: 1.098 MB / 4.339 GB, free: 21.06 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/8.447, allocations: 141.2 kB / 4.339 GB, free: 20.89 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008823/8.448, allocations: 0.7459 MB / 4.339 GB, free: 20.13 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.852e-05/8.448, allocations: 25.7 kB / 4.339 GB, free: 20.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/8.449, allocations: 384.3 kB / 4.34 GB, free: 19.72 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/8.449, allocations: 264.1 kB / 4.34 GB, free: 19.46 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/8.449, allocations: 0 / 4.34 GB, free: 19.46 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.43e-05/8.449, allocations: 345.9 kB / 4.34 GB, free: 19.11 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/8.449, allocations: 393.9 kB / 4.341 GB, free: 18.73 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006439/8.45, allocations: 0.5957 MB / 4.341 GB, free: 18.05 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/8.452, allocations: 0.5608 MB / 4.342 GB, free: 17.49 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/8.452, allocations: 0 / 4.342 GB, free: 17.49 MB / 1.151 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002386/8.454, allocations: 1.243 MB / 4.343 GB, free: 16.24 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002286/8.454, allocations: 1.139 MB / 4.344 GB, free: 15.02 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/8.454, allocations: 4 kB / 4.344 GB, free: 15.01 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/8.454, allocations: 8 kB / 4.344 GB, free: 15 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/8.456, allocations: 279.6 kB / 4.344 GB, free: 14.73 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/8.456, allocations: 11.98 kB / 4.344 GB, free: 14.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/8.457, allocations: 187 kB / 4.345 GB, free: 14.54 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/8.457, allocations: 59.95 kB / 4.345 GB, free: 14.48 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/8.457, allocations: 4 kB / 4.345 GB, free: 14.47 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002209/8.46, allocations: 1.098 MB / 4.346 GB, free: 13.38 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/8.46, allocations: 4 kB / 4.346 GB, free: 13.37 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/8.46, allocations: 4 kB / 4.346 GB, free: 13.37 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/8.461, allocations: 280 kB / 4.346 GB, free: 13.09 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/8.461, allocations: 4 kB / 4.346 GB, free: 13.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/8.462, allocations: 179.1 kB / 4.346 GB, free: 12.91 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/8.463, allocations: 55.95 kB / 4.346 GB, free: 12.86 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: 16 ($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,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * 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.0003152/8.463, allocations: 196.1 kB / 4.346 GB, free: 12.65 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/8.463, allocations: 126.7 kB / 4.347 GB, free: 12.52 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/8.466, allocations: 1.259 MB / 4.348 GB, free: 11.25 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/8.466, allocations: 15.98 kB / 4.348 GB, free: 11.24 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/8.466, allocations: 0 / 4.348 GB, free: 11.24 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/8.466, allocations: 7.984 kB / 4.348 GB, free: 11.23 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004657/8.47, allocations: 2.683 MB / 4.35 GB, free: 8.469 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/8.471, allocations: 8 kB / 4.35 GB, free: 8.461 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/8.472, allocations: 216.1 kB / 4.351 GB, free: 8.25 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.549e-05/8.472, allocations: 4 kB / 4.351 GB, free: 8.246 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.381e-05/8.472, allocations: 27.97 kB / 4.351 GB, free: 8.219 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/8.472, allocations: 12 kB / 4.351 GB, free: 8.207 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/8.472, allocations: 4 kB / 4.351 GB, free: 8.203 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003326/8.475, allocations: 2.101 MB / 4.353 GB, free: 5.969 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004447/8.48, allocations: 3.212 MB / 4.356 GB, free: 2.633 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008332/8.48, allocations: 363.9 kB / 4.356 GB, free: 2.258 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/8.481, allocations: 8 kB / 4.356 GB, free: 2.25 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/8.482, allocations: 135.8 kB / 4.356 GB, free: 2.117 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/8.482, allocations: 52.58 kB / 4.356 GB, free: 2.062 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/8.482, allocations: 51.95 kB / 4.357 GB, free: 2.012 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000806/8.483, allocations: 0.5576 MB / 4.357 GB, free: 1.445 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005371/8.488, allocations: 1.51 MB / 4.359 GB, free: 15.93 MB / 1.167 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: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * 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 (83): * Single equations (assignments): 79 * 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.00451/8.493, allocations: 2.453 MB / 4.361 GB, free: 13.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003197/8.496, allocations: 1.676 MB / 4.363 GB, free: 11.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/8.496, allocations: 448 / 4.363 GB, free: 11.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008808/8.497, allocations: 0.6031 MB / 4.363 GB, free: 11.08 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002439/8.5, allocations: 411.6 kB / 4.364 GB, free: 10.68 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004547/8.504, allocations: 1.813 MB / 4.365 GB, free: 8.793 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/8.506, allocations: 1.321 MB / 4.367 GB, free: 7.441 MB / 1.167 GB Notification: Performance of SimCode: time 1.263e-06/8.506, allocations: 0 / 4.367 GB, free: 7.441 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)