Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.254/2.254, allocations: 284.8 MB / 292.1 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001658/0.001658, allocations: 173.3 kB / 360.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.1 MB / 0.6187 GB, free: 13.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001325/0.001324, allocations: 78.16 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2945/0.2958, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7077/1.004, allocations: 115.2 MB / 0.9628 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.531/6.534, allocations: 2.353 GB / 3.316 GB, free: 98.83 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/6.535, allocations: 88.2 kB / 3.316 GB, free: 98.79 MB / 0.948 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 4.491/11.03, allocations: 0.9159 GB / 4.232 GB, free: 141.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/11.03, allocations: 14.7 kB / 4.232 GB, free: 141.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005737/11.03, allocations: 0.5663 MB / 4.233 GB, free: 141.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004834/11.04, allocations: 1.222 MB / 4.234 GB, free: 141.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001264/11.04, allocations: 192.2 kB / 4.234 GB, free: 141.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004163/11.04, allocations: 58.38 kB / 4.234 GB, free: 141.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003275/11.04, allocations: 0.9609 MB / 4.235 GB, free: 141.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003199/11.05, allocations: 1.032 MB / 4.236 GB, free: 141.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.466e-05/11.05, allocations: 0 / 4.236 GB, free: 141.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/11.05, allocations: 2.406 kB / 4.236 GB, free: 141.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.206e-05/11.05, allocations: 39.84 kB / 4.236 GB, free: 141.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01547/11.06, allocations: 4.921 MB / 4.241 GB, free: 139.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/11.06, allocations: 0.8222 MB / 4.242 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/11.06, allocations: 456.4 kB / 4.242 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001595/11.07, allocations: 0.8493 MB / 4.243 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001497/11.07, allocations: 0.6188 MB / 4.243 GB, free: 138.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=85): time 3.327e-06/11.07, allocations: 0 / 4.243 GB, free: 138.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=85): time 0.004626/11.07, allocations: 1.096 MB / 4.245 GB, free: 138.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/11.07, allocations: 144.5 kB / 4.245 GB, free: 138.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/11.07, allocations: 0.7351 MB / 4.245 GB, free: 138 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002647/11.07, allocations: 31.2 kB / 4.245 GB, free: 137.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/11.07, allocations: 387.2 kB / 4.246 GB, free: 137.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000346/11.07, allocations: 266.3 kB / 4.246 GB, free: 137.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/11.08, allocations: 0 / 4.246 GB, free: 137.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.395e-05/11.08, allocations: 345.8 kB / 4.246 GB, free: 137.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/11.08, allocations: 394.2 kB / 4.247 GB, free: 137.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/11.08, allocations: 0.5984 MB / 4.247 GB, free: 137.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002656/11.08, allocations: 0.5615 MB / 4.248 GB, free: 137.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/11.08, allocations: 3.844 kB / 4.248 GB, free: 137.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004851/11.09, allocations: 1.245 MB / 4.249 GB, free: 137 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002634/11.09, allocations: 1.143 MB / 4.25 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/11.09, allocations: 3.875 kB / 4.25 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/11.09, allocations: 10.97 kB / 4.25 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002801/11.09, allocations: 276.1 kB / 4.251 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/11.09, allocations: 5.438 kB / 4.251 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003077/11.09, allocations: 196.2 kB / 4.251 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002853/11.09, allocations: 58.11 kB / 4.251 GB, free: 135.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/11.09, allocations: 3.438 kB / 4.251 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004284/11.1, allocations: 1.094 MB / 4.252 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/11.1, allocations: 0 / 4.252 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/11.1, allocations: 7.812 kB / 4.252 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/11.1, allocations: 281.3 kB / 4.252 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/11.1, allocations: 8.625 kB / 4.252 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002879/11.1, allocations: 177 kB / 4.252 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002723/11.1, allocations: 55.69 kB / 4.252 GB, free: 135.7 MB / 0.948 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.0004433/11.1, allocations: 194.3 kB / 4.253 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004384/11.1, allocations: 120 kB / 4.253 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005059/11.11, allocations: 1.268 MB / 4.254 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/11.11, allocations: 10.73 kB / 4.254 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/11.11, allocations: 0 / 4.254 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/11.11, allocations: 6.984 kB / 4.254 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008597/11.12, allocations: 2.684 MB / 4.257 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/11.12, allocations: 0 / 4.257 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00209/11.12, allocations: 220.1 kB / 4.257 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.787e-05/11.12, allocations: 6.156 kB / 4.257 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/11.12, allocations: 19.75 kB / 4.257 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.919e-05/11.12, allocations: 12.2 kB / 4.257 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/11.12, allocations: 2.812 kB / 4.257 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005945/11.13, allocations: 2.104 MB / 4.259 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008056/11.13, allocations: 3.202 MB / 4.262 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/11.13, allocations: 356 kB / 4.262 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003616/11.13, allocations: 11.22 kB / 4.262 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002477/11.14, allocations: 133.2 kB / 4.262 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/11.14, allocations: 61.5 kB / 4.262 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/11.14, allocations: 45.86 kB / 4.263 GB, free: 133.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001154/11.14, allocations: 0.5596 MB / 4.263 GB, free: 133.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007868/11.15, allocations: 1.514 MB / 4.265 GB, free: 133 MB / 0.948 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.005272/11.15, allocations: 2.454 MB / 4.267 GB, free: 132.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004349/11.16, allocations: 1.68 MB / 4.269 GB, free: 132.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.988e-06/11.16, allocations: 3.188 kB / 4.269 GB, free: 132.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001383/11.16, allocations: 0.599 MB / 4.269 GB, free: 132.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00425/11.16, allocations: 412 kB / 4.27 GB, free: 132.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007077/11.17, allocations: 1.822 MB / 4.271 GB, free: 131.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/11.17, allocations: 1.313 MB / 4.273 GB, free: 130.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.573e-06/11.17, allocations: 0 / 4.273 GB, free: 130.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)