Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.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.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",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.465/2.465, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001659/0.001658, allocations: 183.8 kB / 360.3 MB, free: 7.562 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.819/1.819, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001313/0.001312, allocations: 84.17 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2829/0.2843, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6473/0.9316, allocations: 115.2 MB / 0.9628 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.518/6.45, allocations: 2.374 GB / 3.337 GB, free: 104.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/6.45, allocations: 91.42 kB / 3.337 GB, free: 104.9 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: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 11.72/18.17, allocations: 2.427 GB / 5.764 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/18.17, allocations: 10.12 kB / 5.764 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/18.19, allocations: 1.439 MB / 5.765 GB, free: 101.9 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02828/18.21, allocations: 7.2 MB / 5.772 GB, free: 101 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003593/18.21, allocations: 147.8 kB / 5.772 GB, free: 101 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002434/18.22, allocations: 284.8 kB / 5.773 GB, free: 101 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02144/18.24, allocations: 5.395 MB / 5.778 GB, free: 101 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02504/18.26, allocations: 5.832 MB / 5.784 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003591/18.26, allocations: 7.594 kB / 5.784 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002092/18.27, allocations: 3.938 kB / 5.784 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002859/18.27, allocations: 232.8 kB / 5.784 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07266/18.34, allocations: 27.04 MB / 5.81 GB, free: 90.68 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/18.35, allocations: 2.495 MB / 5.813 GB, free: 90.65 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007271/18.36, allocations: 2.429 MB / 5.815 GB, free: 90.62 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001887/18.36, allocations: 1.096 MB / 5.816 GB, free: 89.49 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00726/18.37, allocations: 2.311 MB / 5.818 GB, free: 89.3 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=313): time 7.705e-06/18.37, allocations: 0 / 5.818 GB, free: 89.3 MB / 0.9948 GB Notification: Performance of matching and sorting (n=317): time 0.05067/18.42, allocations: 11.17 MB / 5.829 GB, free: 86.56 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.733e-05/18.42, allocations: 188.7 kB / 5.83 GB, free: 86.37 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01249/18.43, allocations: 3.948 MB / 5.833 GB, free: 86.09 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001101/18.43, allocations: 29.27 kB / 5.833 GB, free: 86.05 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003372/18.44, allocations: 1.672 MB / 5.835 GB, free: 85.19 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003485/18.44, allocations: 1.048 MB / 5.836 GB, free: 84.5 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000419/18.44, allocations: 0 / 5.836 GB, free: 84.5 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003604/18.44, allocations: 435.8 kB / 5.837 GB, free: 84.19 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004906/18.44, allocations: 1.729 MB / 5.838 GB, free: 84.18 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006183/18.45, allocations: 2.524 MB / 5.841 GB, free: 83.42 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007823/18.46, allocations: 2.366 MB / 5.843 GB, free: 83.37 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.014e-05/18.46, allocations: 3.438 kB / 5.843 GB, free: 83.37 MB / 0.9948 GB Notification: Performance of matching and sorting (n=398) (initialization): time 0.02525/18.48, allocations: 4.823 MB / 5.848 GB, free: 83.03 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001657/18.49, allocations: 5.765 MB / 5.853 GB, free: 77.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/18.49, allocations: 16.69 kB / 5.853 GB, free: 77.15 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/18.49, allocations: 128 kB / 5.853 GB, free: 77.14 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01128/18.5, allocations: 0.6826 MB / 5.854 GB, free: 77.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004168/18.5, allocations: 2.615 MB / 5.857 GB, free: 75.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01103/18.51, allocations: 440.5 kB / 5.857 GB, free: 75.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001203/18.51, allocations: 127.3 kB / 5.857 GB, free: 75.25 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/18.51, allocations: 3.969 kB / 5.857 GB, free: 75.25 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01802/18.53, allocations: 4.34 MB / 5.861 GB, free: 75.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.018e-05/18.53, allocations: 12.62 kB / 5.861 GB, free: 75.16 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006287/18.53, allocations: 126.8 kB / 5.862 GB, free: 75.15 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006844/18.54, allocations: 0.6829 MB / 5.862 GB, free: 75.15 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003254/18.54, allocations: 1.999 MB / 5.864 GB, free: 73.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01086/18.55, allocations: 420.1 kB / 5.865 GB, free: 73.84 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/18.56, allocations: 128.1 kB / 5.865 GB, free: 73.84 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (381): * Single equations (assignments): 377 * 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.002259/18.56, allocations: 239.3 kB / 5.865 GB, free: 73.66 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001891/18.56, allocations: 447.4 kB / 5.865 GB, free: 73.44 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01827/18.58, allocations: 4.674 MB / 5.87 GB, free: 73.23 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-05/18.58, allocations: 30.69 kB / 5.87 GB, free: 73.23 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/18.58, allocations: 2.875 kB / 5.87 GB, free: 73.23 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01281/18.59, allocations: 3.95 MB / 5.874 GB, free: 72.98 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0391/18.63, allocations: 11.32 MB / 5.885 GB, free: 71.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.646e-05/18.63, allocations: 5.094 kB / 5.885 GB, free: 71.94 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007551/18.64, allocations: 0.6681 MB / 5.886 GB, free: 71.94 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006783/18.64, allocations: 112.1 kB / 5.886 GB, free: 71.93 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009069/18.64, allocations: 54 kB / 5.886 GB, free: 71.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003555/18.64, allocations: 2.591 MB / 5.888 GB, free: 70.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/18.64, allocations: 4.375 kB / 5.888 GB, free: 70.07 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02279/18.67, allocations: 7.895 MB / 5.896 GB, free: 68.78 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02851/18.69, allocations: 11.35 MB / 5.907 GB, free: 67.1 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005634/18.7, allocations: 1.171 MB / 5.908 GB, free: 66.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002523/18.7, allocations: 32.98 kB / 5.908 GB, free: 66.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009061/18.71, allocations: 394.3 kB / 5.909 GB, free: 66.75 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001044/18.71, allocations: 169.9 kB / 5.909 GB, free: 66.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005569/18.71, allocations: 123.6 kB / 5.909 GB, free: 66.75 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.008277/18.72, allocations: 3.065 MB / 5.912 GB, free: 66.57 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.02304/18.75, allocations: 3.462 MB / 5.915 GB, free: 66.06 MB / 0.9948 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 (306): * Single equations (assignments): 298 * 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.006774/18.75, allocations: 3.081 MB / 5.918 GB, free: 64.98 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.02184/18.77, allocations: 6.892 MB / 5.925 GB, free: 62.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-05/18.77, allocations: 4.656 kB / 5.925 GB, free: 62.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.009973/18.78, allocations: 2.288 MB / 5.927 GB, free: 61.64 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02601/18.81, allocations: 2.646 MB / 5.93 GB, free: 61.24 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04664/18.86, allocations: 11.35 MB / 5.941 GB, free: 57.63 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01504/18.87, allocations: 4.944 MB / 5.946 GB, free: 55.98 MB / 0.9948 GB Notification: Performance of SimCode: time 1.673e-06/18.87, allocations: 0 / 5.946 GB, free: 55.98 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)