Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.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.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.427/2.427, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.002598/0.002597, allocations: 187.6 kB / 360.3 MB, free: 7.551 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.909/1.909, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001219/0.001218, allocations: 95.31 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2716/0.2729, allocations: 121.4 MB / 0.8502 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6107/0.8836, allocations: 115.2 MB / 0.9627 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.287/6.171, allocations: 2.367 GB / 3.329 GB, free: 85.46 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/6.171, allocations: 86.56 kB / 3.329 GB, free: 85.42 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 9.594/15.77, allocations: 2.065 GB / 5.395 GB, free: 96.11 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/15.77, allocations: 9.141 kB / 5.395 GB, free: 96.11 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01374/15.78, allocations: 1.284 MB / 5.396 GB, free: 95.8 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02729/15.81, allocations: 6.81 MB / 5.403 GB, free: 95 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003121/15.81, allocations: 124.2 kB / 5.403 GB, free: 95 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002136/15.81, allocations: 244.9 kB / 5.403 GB, free: 95 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01673/15.83, allocations: 4.655 MB / 5.408 GB, free: 94.98 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02068/15.85, allocations: 5.074 MB / 5.413 GB, free: 94.66 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000207/15.85, allocations: 10.78 kB / 5.413 GB, free: 94.66 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001246/15.85, allocations: 7.781 kB / 5.413 GB, free: 94.66 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00023/15.85, allocations: 201.8 kB / 5.413 GB, free: 94.65 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0629/15.91, allocations: 24.55 MB / 5.437 GB, free: 84.88 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/15.92, allocations: 3.681 MB / 5.44 GB, free: 84.53 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005352/15.93, allocations: 2.112 MB / 5.442 GB, free: 84.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001775/15.93, allocations: 1.08 MB / 5.443 GB, free: 83.37 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005426/15.93, allocations: 2.002 MB / 5.445 GB, free: 83.18 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=273): time 7.183e-06/15.93, allocations: 0 / 5.445 GB, free: 83.18 MB / 0.9792 GB Notification: Performance of matching and sorting (n=277): time 0.04191/15.98, allocations: 9.752 MB / 5.455 GB, free: 80.68 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.873e-05/15.98, allocations: 194.9 kB / 5.455 GB, free: 80.48 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01101/15.99, allocations: 3.675 MB / 5.459 GB, free: 80.21 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001042/15.99, allocations: 32.45 kB / 5.459 GB, free: 80.18 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002768/15.99, allocations: 1.472 MB / 5.46 GB, free: 79.43 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003142/15.99, allocations: 0.9186 MB / 5.461 GB, free: 78.82 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003282/16, allocations: 1.531 kB / 5.461 GB, free: 78.82 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003479/16, allocations: 423.3 kB / 5.461 GB, free: 78.51 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004618/16, allocations: 1.478 MB / 5.463 GB, free: 78.5 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005851/16.01, allocations: 2.223 MB / 5.465 GB, free: 77.78 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007282/16.01, allocations: 2.065 MB / 5.467 GB, free: 77.73 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-05/16.01, allocations: 10.75 kB / 5.467 GB, free: 77.72 MB / 0.9792 GB Notification: Performance of matching and sorting (n=354) (initialization): time 0.01573/16.03, allocations: 4.21 MB / 5.471 GB, free: 77.39 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001233/16.03, allocations: 5.291 MB / 5.476 GB, free: 71.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.538e-05/16.03, allocations: 10.72 kB / 5.476 GB, free: 71.93 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000727/16.03, allocations: 128.3 kB / 5.477 GB, free: 71.92 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006334/16.04, allocations: 0.6207 MB / 5.477 GB, free: 71.92 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003605/16.04, allocations: 2.618 MB / 5.48 GB, free: 70.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009683/16.05, allocations: 405.4 kB / 5.48 GB, free: 70.03 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/16.05, allocations: 117.6 kB / 5.48 GB, free: 70.03 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/16.05, allocations: 7.438 kB / 5.48 GB, free: 70.03 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01222/16.06, allocations: 3.754 MB / 5.484 GB, free: 69.94 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.482e-05/16.06, allocations: 11.16 kB / 5.484 GB, free: 69.94 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00057/16.07, allocations: 134 kB / 5.484 GB, free: 69.93 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005781/16.07, allocations: 0.607 MB / 5.485 GB, free: 69.93 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00307/16.07, allocations: 1.993 MB / 5.487 GB, free: 68.65 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009527/16.08, allocations: 389.2 kB / 5.487 GB, free: 68.62 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00103/16.08, allocations: 116.3 kB / 5.487 GB, free: 68.62 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.001268/16.09, allocations: 242.7 kB / 5.487 GB, free: 68.44 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001812/16.09, allocations: 413.3 kB / 5.488 GB, free: 68.23 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/16.1, allocations: 4.026 MB / 5.492 GB, free: 68.03 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-05/16.1, allocations: 26.41 kB / 5.492 GB, free: 68.03 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/16.1, allocations: 3.625 kB / 5.492 GB, free: 68.03 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01107/16.11, allocations: 3.393 MB / 5.495 GB, free: 67.77 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03316/16.15, allocations: 10.11 MB / 5.505 GB, free: 66.63 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.178e-05/16.15, allocations: 3.125 kB / 5.505 GB, free: 66.63 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006355/16.15, allocations: 0.5903 MB / 5.505 GB, free: 66.63 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006275/16.15, allocations: 116.6 kB / 5.506 GB, free: 66.62 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007224/16.15, allocations: 48.11 kB / 5.506 GB, free: 66.62 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003342/16.16, allocations: 2.59 MB / 5.508 GB, free: 64.76 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/16.16, allocations: 3.969 kB / 5.508 GB, free: 64.76 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01966/16.18, allocations: 6.813 MB / 5.515 GB, free: 62.09 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02667/16.2, allocations: 9.808 MB / 5.524 GB, free: 57.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005947/16.21, allocations: 1.063 MB / 5.525 GB, free: 56.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00271/16.21, allocations: 35 kB / 5.525 GB, free: 56.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009364/16.22, allocations: 358.7 kB / 5.526 GB, free: 56.88 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001017/16.22, allocations: 152.5 kB / 5.526 GB, free: 56.85 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006556/16.22, allocations: 109.4 kB / 5.526 GB, free: 56.83 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.008951/16.23, allocations: 2.862 MB / 5.529 GB, free: 55.76 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.022/16.26, allocations: 3.263 MB / 5.532 GB, free: 54.81 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.006804/16.26, allocations: 3.003 MB / 5.535 GB, free: 53.79 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01742/16.28, allocations: 5.995 MB / 5.541 GB, free: 51.59 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/16.28, allocations: 4.844 kB / 5.541 GB, free: 51.59 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.005234/16.29, allocations: 1.979 MB / 5.543 GB, free: 50.07 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02416/16.31, allocations: 2.533 MB / 5.545 GB, free: 48.36 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03817/16.35, allocations: 10.18 MB / 5.555 GB, free: 40.05 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01134/16.36, allocations: 4.452 MB / 5.559 GB, free: 36.62 MB / 0.9792 GB Notification: Performance of SimCode: time 1.733e-06/16.36, allocations: 0 / 5.559 GB, free: 36.62 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)