Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.233/1.233, allocations: 249.4 MB / 256.7 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 177.2 kB / 316 MB, free: 3.543 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.149/1.149, allocations: 205.1 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008159/0.0008156, allocations: 81.52 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3361/0.3369, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.5054, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.306/4.811, allocations: 2.471 GB / 3.356 GB, free: 281.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/4.812, allocations: 87.95 kB / 3.356 GB, free: 281.6 MB / 0.8698 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 2.334/7.145, allocations: 0.8895 GB / 4.245 GB, free: 29.27 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/7.145, allocations: 8 kB / 4.245 GB, free: 29.27 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002917/7.148, allocations: 0.5719 MB / 4.246 GB, free: 28.69 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/7.15, allocations: 1.216 MB / 4.247 GB, free: 27.42 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000569/7.151, allocations: 181.9 kB / 4.247 GB, free: 27.24 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/7.151, allocations: 63.94 kB / 4.247 GB, free: 27.18 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001448/7.153, allocations: 0.9607 MB / 4.248 GB, free: 26.22 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/7.154, allocations: 1.031 MB / 4.249 GB, free: 25.16 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/7.154, allocations: 3.938 kB / 4.249 GB, free: 25.16 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.471e-05/7.154, allocations: 4 kB / 4.249 GB, free: 25.15 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/7.154, allocations: 41.98 kB / 4.249 GB, free: 25.11 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007085/7.161, allocations: 4.922 MB / 4.254 GB, free: 19.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009677/7.162, allocations: 0.8138 MB / 4.255 GB, free: 19.06 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005069/7.163, allocations: 462.1 kB / 4.255 GB, free: 18.61 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009293/7.164, allocations: 0.8428 MB / 4.256 GB, free: 17.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006805/7.164, allocations: 0.6108 MB / 4.257 GB, free: 16.96 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=85): time 2.996e-06/7.164, allocations: 0 / 4.257 GB, free: 16.96 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85): time 0.002425/7.167, allocations: 1.102 MB / 4.258 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/7.167, allocations: 141.2 kB / 4.258 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008516/7.168, allocations: 0.7459 MB / 4.259 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.496e-05/7.168, allocations: 29.7 kB / 4.259 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/7.168, allocations: 376.4 kB / 4.259 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/7.168, allocations: 268 kB / 4.259 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/7.168, allocations: 0 / 4.259 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.37e-05/7.168, allocations: 349.9 kB / 4.26 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005176/7.169, allocations: 393.9 kB / 4.26 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/7.17, allocations: 0.5918 MB / 4.261 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/7.171, allocations: 0.5724 MB / 4.261 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/7.171, allocations: 0 / 4.261 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002495/7.173, allocations: 1.243 MB / 4.262 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002224/7.174, allocations: 1.14 MB / 4.264 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/7.174, allocations: 4 kB / 4.264 GB, free: 9.781 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/7.174, allocations: 8 kB / 4.264 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/7.175, allocations: 275.6 kB / 4.264 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/7.175, allocations: 8 kB / 4.264 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/7.177, allocations: 191.1 kB / 4.264 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/7.177, allocations: 51.97 kB / 4.264 GB, free: 9.258 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.141e-06/7.177, allocations: 4 kB / 4.264 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002083/7.179, allocations: 1.094 MB / 4.265 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/7.179, allocations: 8.031 kB / 4.265 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/7.179, allocations: 8 kB / 4.265 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/7.18, allocations: 271.6 kB / 4.265 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/7.18, allocations: 8 kB / 4.265 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/7.181, allocations: 171.2 kB / 4.266 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/7.182, allocations: 59.97 kB / 4.266 GB, free: 7.648 MB / 0.8698 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.0002545/7.182, allocations: 200.1 kB / 4.266 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/7.182, allocations: 118.6 kB / 4.266 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002584/7.185, allocations: 1.267 MB / 4.267 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/7.185, allocations: 12 kB / 4.267 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/7.185, allocations: 0 / 4.267 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/7.185, allocations: 3.984 kB / 4.267 GB, free: 6.031 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004257/7.189, allocations: 2.679 MB / 4.27 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/7.189, allocations: 4 kB / 4.27 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/7.19, allocations: 220 kB / 4.27 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/7.19, allocations: 12 kB / 4.27 GB, free: 3.035 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.407e-05/7.19, allocations: 19.98 kB / 4.27 GB, free: 3.016 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/7.19, allocations: 11.98 kB / 4.27 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/7.19, allocations: 4 kB / 4.27 GB, free: 3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002898/7.193, allocations: 2.097 MB / 4.272 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004435/7.197, allocations: 3.219 MB / 4.275 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007447/7.198, allocations: 351.3 kB / 4.276 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/7.198, allocations: 11.91 kB / 4.276 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/7.2, allocations: 139.9 kB / 4.276 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/7.2, allocations: 56.48 kB / 4.276 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/7.2, allocations: 47.97 kB / 4.276 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0007536/7.201, allocations: 0.5576 MB / 4.276 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004964/7.206, allocations: 1.518 MB / 4.278 GB, free: 10.71 MB / 0.8855 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.003466/7.209, allocations: 2.447 MB / 4.28 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002494/7.212, allocations: 1.677 MB / 4.282 GB, free: 6.488 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/7.212, allocations: 4.125 kB / 4.282 GB, free: 6.484 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007458/7.213, allocations: 0.6031 MB / 4.283 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/7.215, allocations: 403.4 kB / 4.283 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00389/7.219, allocations: 1.805 MB / 4.285 GB, free: 3.598 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/7.22, allocations: 1.321 MB / 4.286 GB, free: 2.25 MB / 0.8855 GB Notification: Performance of SimCode: time 7.81e-07/7.22, allocations: 4 kB / 4.286 GB, free: 2.246 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)