Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.486/2.486, allocations: 390.4 MB / 397.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 187.5 kB / 490.8 MB, free: 13.21 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.621/1.621, allocations: 221.4 MB / 0.7863 GB, free: 2.523 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001352, allocations: 93.94 kB / 0.9264 GB, free: 39.91 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.3855/0.3869, allocations: 149.1 MB / 1.072 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9949/1.382, allocations: 143 MB / 1.212 GB, free: 63.26 MB / 0.7761 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.666/7.047, allocations: 2.197 GB / 3.409 GB, free: 267.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/7.048, allocations: 92.48 kB / 3.409 GB, free: 267.3 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.52/12.57, allocations: 1.366 GB / 4.775 GB, free: 169.5 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/12.57, allocations: 7.109 kB / 4.775 GB, free: 169.5 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004603/12.57, allocations: 0.5395 MB / 4.776 GB, free: 169.3 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0074/12.58, allocations: 2.452 MB / 4.778 GB, free: 168.8 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/12.58, allocations: 57.59 kB / 4.778 GB, free: 168.8 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008217/12.58, allocations: 106.7 kB / 4.778 GB, free: 168.8 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004474/12.58, allocations: 1.697 MB / 4.78 GB, free: 168.8 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004863/12.59, allocations: 2.017 MB / 4.782 GB, free: 168.5 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.563e-05/12.59, allocations: 11.09 kB / 4.782 GB, free: 168.5 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/12.59, allocations: 7.375 kB / 4.782 GB, free: 168.5 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.91e-05/12.59, allocations: 83.61 kB / 4.782 GB, free: 168.5 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0141/12.6, allocations: 10.86 MB / 4.793 GB, free: 162.8 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/12.61, allocations: 0.777 MB / 4.793 GB, free: 162.7 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008543/12.61, allocations: 0.6482 MB / 4.794 GB, free: 162.5 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/12.61, allocations: 1.451 MB / 4.795 GB, free: 160.9 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/12.61, allocations: 48.12 kB / 4.795 GB, free: 160.9 MB / 1.182 GB Notification: Performance of pre-optimization done (n=99): time 3.517e-06/12.61, allocations: 0 / 4.795 GB, free: 160.9 MB / 1.182 GB Notification: Performance of matching and sorting (n=101): time 0.008785/12.62, allocations: 3.056 MB / 4.798 GB, free: 159.5 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/12.62, allocations: 61.78 kB / 4.799 GB, free: 159.4 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002685/12.62, allocations: 1.413 MB / 4.8 GB, free: 158.9 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001481/12.62, allocations: 27.2 kB / 4.8 GB, free: 158.9 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005052/12.62, allocations: 0.7012 MB / 4.801 GB, free: 158.4 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004384/12.62, allocations: 352.1 kB / 4.801 GB, free: 158.1 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/12.62, allocations: 0 / 4.801 GB, free: 158.1 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 9.77e-05/12.62, allocations: 355.8 kB / 4.801 GB, free: 157.8 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008803/12.62, allocations: 0.5094 MB / 4.802 GB, free: 157.6 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/12.62, allocations: 0.894 MB / 4.803 GB, free: 156.9 MB / 1.182 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.007569/12.63, allocations: 2.065 MB / 4.805 GB, free: 156.3 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/12.63, allocations: 3.75 kB / 4.805 GB, free: 156.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.00377/12.63, allocations: 1.562 MB / 4.806 GB, free: 155.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008701/12.64, allocations: 3.673 MB / 4.81 GB, free: 151.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/12.64, allocations: 6.625 kB / 4.81 GB, free: 151.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.731e-05/12.64, allocations: 17.94 kB / 4.81 GB, free: 151.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/12.64, allocations: 275.9 kB / 4.81 GB, free: 151.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/12.64, allocations: 20.33 kB / 4.81 GB, free: 151.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/12.64, allocations: 158.1 kB / 4.81 GB, free: 151.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/12.64, allocations: 64.98 kB / 4.81 GB, free: 151.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 9.998e-06/12.64, allocations: 2.781 kB / 4.81 GB, free: 151.8 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002591/12.64, allocations: 1.343 MB / 4.812 GB, free: 151.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/12.64, allocations: 8.25 kB / 4.812 GB, free: 151.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/12.64, allocations: 23.16 kB / 4.812 GB, free: 151.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/12.64, allocations: 280.8 kB / 4.812 GB, free: 151.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/12.64, allocations: 22.12 kB / 4.812 GB, free: 151.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/12.65, allocations: 151.8 kB / 4.812 GB, free: 151.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/12.65, allocations: 61.44 kB / 4.812 GB, free: 151.3 MB / 1.182 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.0003556/12.65, allocations: 154.3 kB / 4.812 GB, free: 151.2 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004205/12.65, allocations: 172.8 kB / 4.812 GB, free: 151.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003445/12.65, allocations: 1.526 MB / 4.814 GB, free: 150.6 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/12.65, allocations: 14.97 kB / 4.814 GB, free: 150.6 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/12.65, allocations: 1.406 kB / 4.814 GB, free: 150.6 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002187/12.65, allocations: 1.473 MB / 4.815 GB, free: 149.8 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008585/12.66, allocations: 3.791 MB / 4.819 GB, free: 148.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/12.66, allocations: 7.562 kB / 4.819 GB, free: 148.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/12.66, allocations: 229 kB / 4.819 GB, free: 148.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.761e-05/12.66, allocations: 10.81 kB / 4.819 GB, free: 148.1 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/12.66, allocations: 29.69 kB / 4.819 GB, free: 148.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.679e-05/12.66, allocations: 15.75 kB / 4.819 GB, free: 148.1 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/12.66, allocations: 9.938 kB / 4.819 GB, free: 148.1 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004232/12.67, allocations: 2.64 MB / 4.822 GB, free: 146.5 MB / 1.182 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006287/12.67, allocations: 4.025 MB / 4.826 GB, free: 144 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/12.67, allocations: 437.5 kB / 4.826 GB, free: 143.7 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000334/12.67, allocations: 13.84 kB / 4.826 GB, free: 143.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/12.68, allocations: 120.5 kB / 4.826 GB, free: 143.7 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/12.68, allocations: 75.56 kB / 4.827 GB, free: 143.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/12.68, allocations: 45.83 kB / 4.827 GB, free: 143.7 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.001912/12.68, allocations: 1.081 MB / 4.828 GB, free: 143.2 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.007732/12.69, allocations: 1.895 MB / 4.829 GB, free: 142.2 MB / 1.182 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.005198/12.69, allocations: 3.145 MB / 4.833 GB, free: 141.1 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003999/12.7, allocations: 2.021 MB / 4.835 GB, free: 140.3 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/12.7, allocations: 7.938 kB / 4.835 GB, free: 140.3 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0009029/12.7, allocations: 0.6276 MB / 4.835 GB, free: 139.7 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004795/12.7, allocations: 0.8795 MB / 4.836 GB, free: 139.1 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007385/12.71, allocations: 3.664 MB / 4.84 GB, free: 135.9 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002695/12.71, allocations: 2.141 MB / 4.842 GB, free: 134.2 MB / 1.182 GB Notification: Performance of SimCode: time 1.112e-06/12.71, allocations: 2.906 kB / 4.842 GB, free: 134.2 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe 2>&1)