Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate",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 9.1.1-maint.9.1.x/package.mo): time 2.113/2.113, allocations: 387.2 MB / 394.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 181.3 kB / 487 MB, free: 5.355 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 221.3 MB / 0.7819 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009861/0.0009861, allocations: 96.56 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.66/0.661, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.9489, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.953/5.902, allocations: 2.196 GB / 3.402 GB, free: 119.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/5.903, allocations: 87.95 kB / 3.402 GB, free: 119.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 438 * Number of variables: 438 Notification: Performance of Generate backend data structure: time 5.099/11, allocations: 1.366 GB / 4.768 GB, free: 63.24 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/11, allocations: 8 kB / 4.768 GB, free: 63.23 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004764/11.01, allocations: 0.5432 MB / 4.769 GB, free: 62.69 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006734/11.01, allocations: 2.443 MB / 4.771 GB, free: 60.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/11.01, allocations: 55.98 kB / 4.771 GB, free: 60.14 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004283/11.01, allocations: 107.9 kB / 4.771 GB, free: 60.04 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003247/11.02, allocations: 1.697 MB / 4.773 GB, free: 58.34 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003126/11.02, allocations: 2.021 MB / 4.775 GB, free: 56.22 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.147e-05/11.02, allocations: 4 kB / 4.775 GB, free: 56.21 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/11.02, allocations: 4 kB / 4.775 GB, free: 56.21 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-05/11.02, allocations: 83.08 kB / 4.775 GB, free: 56.13 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01504/11.04, allocations: 10.86 MB / 4.785 GB, free: 44.63 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/11.04, allocations: 0.7665 MB / 4.786 GB, free: 43.86 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007282/11.04, allocations: 0.6389 MB / 4.787 GB, free: 43.22 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/11.04, allocations: 1.456 MB / 4.788 GB, free: 41.46 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/11.04, allocations: 51.56 kB / 4.788 GB, free: 41.39 MB / 1.167 GB Notification: Performance of pre-optimization done (n=99): time 3.366e-06/11.04, allocations: 0 / 4.788 GB, free: 41.39 MB / 1.167 GB Notification: Performance of matching and sorting (n=101): time 0.0083/11.05, allocations: 3.058 MB / 4.791 GB, free: 38.28 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/11.05, allocations: 64.31 kB / 4.791 GB, free: 38.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/11.05, allocations: 1.411 MB / 4.793 GB, free: 36.79 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/11.05, allocations: 25.7 kB / 4.793 GB, free: 36.75 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/11.05, allocations: 0.711 MB / 4.793 GB, free: 36.03 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004024/11.05, allocations: 342.9 kB / 4.794 GB, free: 35.69 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/11.05, allocations: 0 / 4.794 GB, free: 35.69 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001099/11.05, allocations: 349.9 kB / 4.794 GB, free: 35.34 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006395/11.05, allocations: 0.514 MB / 4.795 GB, free: 34.83 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008173/11.05, allocations: 0.8974 MB / 4.796 GB, free: 33.77 MB / 1.167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: hex.ele[1].vol2.dynBal.medium.p = hex.ele[1].vol2.dynBal.p_start (sin_a.p = hex.ele[1].vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005781/11.06, allocations: 2.06 MB / 4.798 GB, free: 31.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/11.06, allocations: 4 kB / 4.798 GB, free: 31.69 MB / 1.167 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002915/11.06, allocations: 1.559 MB / 4.799 GB, free: 30.12 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007508/11.06, allocations: 3.673 MB / 4.803 GB, free: 26.12 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/11.06, allocations: 12 kB / 4.803 GB, free: 26.11 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.129e-05/11.06, allocations: 20 kB / 4.803 GB, free: 26.09 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/11.06, allocations: 275.5 kB / 4.803 GB, free: 25.82 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/11.06, allocations: 19.94 kB / 4.803 GB, free: 25.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/11.06, allocations: 159.6 kB / 4.803 GB, free: 25.64 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/11.06, allocations: 59.97 kB / 4.803 GB, free: 25.59 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/11.06, allocations: 8 kB / 4.803 GB, free: 25.58 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002304/11.07, allocations: 1.348 MB / 4.804 GB, free: 24.23 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/11.07, allocations: 8 kB / 4.804 GB, free: 24.22 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/11.07, allocations: 16 kB / 4.804 GB, free: 24.21 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/11.07, allocations: 278 kB / 4.805 GB, free: 23.94 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/11.07, allocations: 27.86 kB / 4.805 GB, free: 23.91 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/11.07, allocations: 147.7 kB / 4.805 GB, free: 23.77 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/11.07, allocations: 59.97 kB / 4.805 GB, free: 23.71 MB / 1.167 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: hex.ele[1].vol2.dynBal.medium.p = hex.ele[1].vol2.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * 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.0003709/11.07, allocations: 144.5 kB / 4.805 GB, free: 23.56 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000379/11.07, allocations: 169.9 kB / 4.805 GB, free: 23.39 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/11.07, allocations: 1.53 MB / 4.807 GB, free: 21.85 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/11.07, allocations: 19.98 kB / 4.807 GB, free: 21.83 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/11.07, allocations: 0 / 4.807 GB, free: 21.83 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001743/11.08, allocations: 1.474 MB / 4.808 GB, free: 20.27 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006656/11.08, allocations: 3.805 MB / 4.812 GB, free: 16.35 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/11.08, allocations: 8 kB / 4.812 GB, free: 16.34 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/11.08, allocations: 224.4 kB / 4.812 GB, free: 16.12 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.808e-05/11.08, allocations: 12 kB / 4.812 GB, free: 16.11 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.837e-05/11.08, allocations: 27.98 kB / 4.812 GB, free: 16.08 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/11.08, allocations: 11.94 kB / 4.812 GB, free: 16.07 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.495e-06/11.08, allocations: 8 kB / 4.812 GB, free: 16.06 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00338/11.09, allocations: 2.649 MB / 4.815 GB, free: 13.16 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00512/11.09, allocations: 4.027 MB / 4.819 GB, free: 8.863 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00164/11.09, allocations: 430.9 kB / 4.819 GB, free: 8.422 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007708/11.1, allocations: 16 kB / 4.819 GB, free: 8.406 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/11.1, allocations: 127.6 kB / 4.819 GB, free: 8.281 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/11.1, allocations: 64.61 kB / 4.819 GB, free: 8.219 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/11.1, allocations: 43.97 kB / 4.819 GB, free: 8.176 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.002494/11.1, allocations: 1.091 MB / 4.82 GB, free: 7.09 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00821/11.11, allocations: 1.896 MB / 4.822 GB, free: 5.195 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.medium.Xi[1],hex.ele[1].vol2.dynBal.U,hex.ele[1].mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.005727/11.11, allocations: 3.139 MB / 4.825 GB, free: 1.809 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004219/11.12, allocations: 2.019 MB / 4.827 GB, free: 15.79 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.606e-05/11.12, allocations: 7.906 kB / 4.827 GB, free: 15.78 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001255/11.12, allocations: 0.6362 MB / 4.828 GB, free: 15.15 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006029/11.13, allocations: 0.8778 MB / 4.829 GB, free: 14.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/11.14, allocations: 3.66 MB / 4.832 GB, free: 10.5 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003223/11.14, allocations: 2.139 MB / 4.835 GB, free: 8.328 MB / 1.182 GB Notification: Performance of SimCode: time 4.719e-06/11.14, allocations: 0 / 4.835 GB, free: 8.328 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe 2>&1)