Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.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.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",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.414/1.414, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.001172/0.001172, allocations: 181.3 kB / 361.1 MB, free: 7.082 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.262/1.262, allocations: 205.1 MB / 0.6195 GB, free: 11.92 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.0009097/0.0009097, allocations: 88.23 kB / 0.7325 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2236/0.2246, allocations: 121.4 MB / 0.8511 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5348/0.7594, allocations: 115.3 MB / 0.9637 GB, free: 77.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.594/4.353, allocations: 2.386 GB / 3.35 GB, free: 111.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/4.353, allocations: 96.64 kB / 3.35 GB, free: 111.6 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: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 6.312/10.67, allocations: 2.32 GB / 5.67 GB, free: 3.68 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/10.67, allocations: 8 kB / 5.67 GB, free: 3.672 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/10.68, allocations: 1.374 MB / 5.672 GB, free: 2.289 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02086/10.7, allocations: 7.177 MB / 5.679 GB, free: 11.04 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003158/10.7, allocations: 132 kB / 5.679 GB, free: 10.91 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002322/10.7, allocations: 263.9 kB / 5.679 GB, free: 10.65 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01312/10.71, allocations: 4.803 MB / 5.684 GB, free: 5.84 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01658/10.73, allocations: 5.294 MB / 5.689 GB, free: 400 kB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002586/10.73, allocations: 11.84 kB / 5.689 GB, free: 388 kB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001421/10.73, allocations: 4 kB / 5.689 GB, free: 384 kB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000226/10.73, allocations: 208.1 kB / 5.689 GB, free: 172 kB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4596/11.19, allocations: 26.05 MB / 5.715 GB, free: 183.6 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006145/11.2, allocations: 3.838 MB / 5.718 GB, free: 183.3 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002973/11.2, allocations: 2.205 MB / 5.72 GB, free: 183.2 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/11.2, allocations: 1.081 MB / 5.722 GB, free: 182.1 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003111/11.2, allocations: 2.045 MB / 5.724 GB, free: 181.9 MB / 1.01 GB Notification: Performance of pre-optimization done (n=286): time 5.841e-06/11.2, allocations: 3.562 kB / 5.724 GB, free: 181.9 MB / 1.01 GB Notification: Performance of matching and sorting (n=290): time 0.02714/11.23, allocations: 10.06 MB / 5.733 GB, free: 179.4 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/11.23, allocations: 296.2 kB / 5.734 GB, free: 179.1 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008543/11.24, allocations: 3.973 MB / 5.737 GB, free: 178.8 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0007867/11.24, allocations: 28.89 kB / 5.738 GB, free: 178.8 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002142/11.24, allocations: 1.593 MB / 5.739 GB, free: 178.2 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002306/11.25, allocations: 0.9702 MB / 5.74 GB, free: 177.7 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004427/11.25, allocations: 0 / 5.74 GB, free: 177.7 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002835/11.25, allocations: 425.8 kB / 5.74 GB, free: 177.4 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002273/11.25, allocations: 1.544 MB / 5.742 GB, free: 177.4 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002706/11.25, allocations: 2.407 MB / 5.744 GB, free: 176.5 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003227/11.25, allocations: 2.088 MB / 5.746 GB, free: 176.4 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/11.25, allocations: 3.906 kB / 5.746 GB, free: 176.4 MB / 1.01 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.007672/11.26, allocations: 4.462 MB / 5.751 GB, free: 176.1 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.00164/11.26, allocations: 5.841 MB / 5.756 GB, free: 170 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.496e-05/11.26, allocations: 15.81 kB / 5.756 GB, free: 170 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000719/11.26, allocations: 206.9 kB / 5.757 GB, free: 170 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003155/11.27, allocations: 0.6787 MB / 5.757 GB, free: 170 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/11.27, allocations: 3.328 MB / 5.761 GB, free: 167.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006364/11.28, allocations: 452.2 kB / 5.761 GB, free: 167.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005966/11.28, allocations: 135.2 kB / 5.761 GB, free: 167.5 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/11.28, allocations: 6.438 kB / 5.761 GB, free: 167.5 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007693/11.29, allocations: 3.93 MB / 5.765 GB, free: 167.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.427e-05/11.29, allocations: 11.91 kB / 5.765 GB, free: 167.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005923/11.29, allocations: 203.7 kB / 5.765 GB, free: 167.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003216/11.29, allocations: 0.6626 MB / 5.766 GB, free: 167.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004091/11.29, allocations: 3.806 MB / 5.769 GB, free: 164.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006793/11.3, allocations: 439.7 kB / 5.77 GB, free: 164.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/11.3, allocations: 125.4 kB / 5.77 GB, free: 164.9 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (357): * Single equations (assignments): 351 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.001692/11.3, allocations: 211.5 kB / 5.77 GB, free: 164.7 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00176/11.3, allocations: 461.1 kB / 5.771 GB, free: 164.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008514/11.31, allocations: 4.178 MB / 5.775 GB, free: 164.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.018e-05/11.31, allocations: 30.66 kB / 5.775 GB, free: 164.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/11.31, allocations: 3.531 kB / 5.775 GB, free: 164.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005104/11.32, allocations: 3.485 MB / 5.778 GB, free: 164 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01969/11.34, allocations: 10.48 MB / 5.788 GB, free: 162.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/11.34, allocations: 3.938 kB / 5.788 GB, free: 162.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002983/11.34, allocations: 0.6332 MB / 5.789 GB, free: 162.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/11.34, allocations: 178.6 kB / 5.789 GB, free: 162.9 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002927/11.34, allocations: 53.95 kB / 5.789 GB, free: 162.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002289/11.34, allocations: 3.244 MB / 5.792 GB, free: 160.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/11.34, allocations: 5.125 kB / 5.792 GB, free: 160.5 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009112/11.35, allocations: 7.148 MB / 5.799 GB, free: 159.1 MB / 1.01 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01212/11.37, allocations: 10.23 MB / 5.809 GB, free: 157.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003447/11.37, allocations: 1.119 MB / 5.81 GB, free: 157 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001483/11.37, allocations: 27.92 kB / 5.811 GB, free: 157 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00473/11.38, allocations: 389.9 kB / 5.811 GB, free: 157 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003293/11.38, allocations: 166.3 kB / 5.811 GB, free: 157 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003239/11.38, allocations: 112.1 kB / 5.811 GB, free: 157 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.00565/11.38, allocations: 3.081 MB / 5.814 GB, free: 156.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01698/11.4, allocations: 3.57 MB / 5.818 GB, free: 156.8 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],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,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004698/11.4, allocations: 3.372 MB / 5.821 GB, free: 155.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.009519/11.41, allocations: 6.389 MB / 5.827 GB, free: 155.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/11.41, allocations: 6.719 kB / 5.827 GB, free: 155.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00293/11.42, allocations: 2.017 MB / 5.829 GB, free: 155 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01325/11.43, allocations: 2.696 MB / 5.832 GB, free: 155 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/11.45, allocations: 10.65 MB / 5.842 GB, free: 153.1 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005948/11.46, allocations: 4.681 MB / 5.847 GB, free: 152.2 MB / 1.01 GB Notification: Performance of SimCode: time 9.61e-07/11.46, allocations: 0 / 5.847 GB, free: 152.2 MB / 1.01 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1)