Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",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.1-maint.8.0.x/package.mo): time 1.356/1.356, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001014/0.001014, allocations: 177.3 kB / 361.1 MB, free: 7.098 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.092/1.092, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0008436/0.0008436, allocations: 87.67 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1915/0.1924, allocations: 121.4 MB / 0.8511 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.6148, allocations: 115.3 MB / 0.9638 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.258/3.873, allocations: 2.367 GB / 3.331 GB, free: 153.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/3.873, allocations: 89.31 kB / 3.331 GB, free: 153.2 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: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 6.051/9.924, allocations: 2.065 GB / 5.396 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/9.925, allocations: 14.22 kB / 5.396 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00871/9.933, allocations: 1.273 MB / 5.397 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01563/9.949, allocations: 6.82 MB / 5.404 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/9.949, allocations: 126.9 kB / 5.404 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001555/9.951, allocations: 243.6 kB / 5.404 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00973/9.96, allocations: 4.655 MB / 5.409 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01244/9.973, allocations: 5.079 MB / 5.414 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001596/9.973, allocations: 6.125 kB / 5.414 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008192/9.974, allocations: 3.875 kB / 5.414 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000169/9.974, allocations: 206.7 kB / 5.414 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03446/10.01, allocations: 24.56 MB / 5.438 GB, free: 97.64 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005336/10.01, allocations: 3.688 MB / 5.442 GB, free: 97.29 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002624/10.02, allocations: 2.11 MB / 5.444 GB, free: 97.26 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/10.02, allocations: 1.09 MB / 5.445 GB, free: 96.13 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002962/10.02, allocations: 1.994 MB / 5.447 GB, free: 95.95 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=273): time 6.392e-06/10.02, allocations: 0 / 5.447 GB, free: 95.95 MB / 0.9792 GB Notification: Performance of matching and sorting (n=277): time 0.02494/10.05, allocations: 9.752 MB / 5.456 GB, free: 93.45 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/10.05, allocations: 192.6 kB / 5.456 GB, free: 93.25 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00713/10.05, allocations: 3.667 MB / 5.46 GB, free: 92.98 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005861/10.05, allocations: 37.08 kB / 5.46 GB, free: 92.95 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001835/10.06, allocations: 1.482 MB / 5.461 GB, free: 92.19 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001925/10.06, allocations: 0.9167 MB / 5.462 GB, free: 91.58 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003476/10.06, allocations: 2.812 kB / 5.462 GB, free: 91.58 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000245/10.06, allocations: 422.5 kB / 5.463 GB, free: 91.27 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/10.06, allocations: 1.484 MB / 5.464 GB, free: 91.27 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002613/10.06, allocations: 2.219 MB / 5.466 GB, free: 90.54 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003464/10.07, allocations: 2.063 MB / 5.468 GB, free: 90.49 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/10.07, allocations: 3.781 kB / 5.468 GB, free: 90.49 MB / 0.9792 GB Notification: Performance of matching and sorting (n=354) (initialization): time 0.007551/10.07, allocations: 4.209 MB / 5.472 GB, free: 90.16 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.00103/10.07, allocations: 5.298 MB / 5.478 GB, free: 84.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.46e-05/10.08, allocations: 11.25 kB / 5.478 GB, free: 84.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004336/10.08, allocations: 128.5 kB / 5.478 GB, free: 84.69 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/10.08, allocations: 0.6183 MB / 5.478 GB, free: 84.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/10.08, allocations: 2.621 MB / 5.481 GB, free: 82.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005528/10.09, allocations: 402.4 kB / 5.481 GB, free: 82.79 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004163/10.09, allocations: 116.1 kB / 5.481 GB, free: 82.79 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/10.09, allocations: 4.969 kB / 5.481 GB, free: 82.79 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006213/10.09, allocations: 3.767 MB / 5.485 GB, free: 82.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/10.09, allocations: 11.12 kB / 5.485 GB, free: 82.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003334/10.09, allocations: 118 kB / 5.485 GB, free: 82.69 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002482/10.1, allocations: 0.6154 MB / 5.486 GB, free: 82.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/10.1, allocations: 1.993 MB / 5.488 GB, free: 81.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005324/10.1, allocations: 388.4 kB / 5.488 GB, free: 81.38 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003624/10.1, allocations: 117 kB / 5.488 GB, free: 81.38 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 14 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (337): * Single equations (assignments): 333 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000848/10.1, allocations: 240.8 kB / 5.488 GB, free: 81.2 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001303/10.11, allocations: 411.5 kB / 5.489 GB, free: 81 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007465/10.11, allocations: 4.03 MB / 5.493 GB, free: 80.8 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.68e-05/10.11, allocations: 26.53 kB / 5.493 GB, free: 80.8 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/10.11, allocations: 0 / 5.493 GB, free: 80.8 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004962/10.12, allocations: 3.387 MB / 5.496 GB, free: 80.55 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02018/10.14, allocations: 10.1 MB / 5.506 GB, free: 79.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/10.14, allocations: 3.938 kB / 5.506 GB, free: 79.41 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002989/10.14, allocations: 0.5915 MB / 5.507 GB, free: 79.41 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004242/10.14, allocations: 108 kB / 5.507 GB, free: 79.41 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003226/10.14, allocations: 54.8 kB / 5.507 GB, free: 79.41 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/10.14, allocations: 2.587 MB / 5.509 GB, free: 77.55 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/10.14, allocations: 8.625 kB / 5.509 GB, free: 77.55 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01029/10.15, allocations: 6.82 MB / 5.516 GB, free: 76.35 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01228/10.17, allocations: 9.81 MB / 5.526 GB, free: 74.75 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00383/10.17, allocations: 1.063 MB / 5.527 GB, free: 74.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001735/10.17, allocations: 32.58 kB / 5.527 GB, free: 74.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004722/10.18, allocations: 355.2 kB / 5.527 GB, free: 74.43 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003107/10.18, allocations: 151.7 kB / 5.527 GB, free: 74.41 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003534/10.18, allocations: 116 kB / 5.527 GB, free: 74.41 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.006179/10.18, allocations: 2.861 MB / 5.53 GB, free: 74.23 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01427/10.2, allocations: 3.26 MB / 5.533 GB, free: 73.95 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 18 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,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 (266): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004483/10.2, allocations: 3.01 MB / 5.536 GB, free: 72.91 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00906/10.21, allocations: 5.979 MB / 5.542 GB, free: 70.72 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.691e-05/10.21, allocations: 5.719 kB / 5.542 GB, free: 70.72 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003211/10.22, allocations: 1.972 MB / 5.544 GB, free: 69.97 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01342/10.23, allocations: 2.532 MB / 5.546 GB, free: 69.56 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02806/10.26, allocations: 10.19 MB / 5.556 GB, free: 66.34 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00828/10.26, allocations: 4.457 MB / 5.561 GB, free: 64.81 MB / 0.9792 GB Notification: Performance of SimCode: time 7.31e-07/10.27, allocations: 0 / 5.561 GB, free: 64.81 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)