Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",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.326/2.326, allocations: 284.8 MB / 292.1 MB, free: 10.81 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.001661/0.00166, allocations: 185.3 kB / 360.3 MB, free: 7.578 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.832/1.832, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001247/0.001246, allocations: 87.77 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2938/0.2951, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6905/0.9856, allocations: 115.2 MB / 0.9628 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.479/6.465, allocations: 2.324 GB / 3.286 GB, free: 128.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003936/6.465, allocations: 81.92 kB / 3.286 GB, free: 128.2 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 3.52/9.985, allocations: 0.7885 GB / 4.075 GB, free: 74.18 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/9.985, allocations: 8.219 kB / 4.075 GB, free: 74.17 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006897/9.992, allocations: 478.1 kB / 4.075 GB, free: 73.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005811/9.998, allocations: 1.035 MB / 4.076 GB, free: 72.62 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002037/10, allocations: 173.9 kB / 4.077 GB, free: 72.45 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005053/10, allocations: 44 kB / 4.077 GB, free: 72.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003959/10, allocations: 0.7693 MB / 4.077 GB, free: 71.64 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004073/10.01, allocations: 0.8233 MB / 4.078 GB, free: 70.79 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.21e-05/10.01, allocations: 0 / 4.078 GB, free: 70.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000231/10.01, allocations: 4 kB / 4.078 GB, free: 70.78 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.155e-05/10.01, allocations: 37.92 kB / 4.078 GB, free: 70.75 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01855/10.03, allocations: 4.117 MB / 4.082 GB, free: 66.37 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/10.03, allocations: 0.5233 MB / 4.083 GB, free: 65.84 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/10.03, allocations: 331.4 kB / 4.083 GB, free: 65.52 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001627/10.03, allocations: 0.6564 MB / 4.084 GB, free: 64.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001717/10.03, allocations: 439.6 kB / 4.084 GB, free: 64.29 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 6.102e-06/10.03, allocations: 0 / 4.084 GB, free: 64.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.004682/10.04, allocations: 0.7415 MB / 4.085 GB, free: 63.54 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/10.04, allocations: 85.59 kB / 4.085 GB, free: 63.43 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/10.04, allocations: 0.563 MB / 4.086 GB, free: 62.87 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003003/10.04, allocations: 25.7 kB / 4.086 GB, free: 62.84 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00048/10.04, allocations: 328 kB / 4.086 GB, free: 62.51 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003981/10.04, allocations: 177.4 kB / 4.086 GB, free: 62.33 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/10.04, allocations: 3.938 kB / 4.086 GB, free: 62.33 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001089/10.04, allocations: 329.9 kB / 4.086 GB, free: 62 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/10.04, allocations: 265.2 kB / 4.087 GB, free: 61.74 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/10.05, allocations: 434.7 kB / 4.087 GB, free: 61.26 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001975/10.05, allocations: 333.2 kB / 4.087 GB, free: 60.94 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/10.05, allocations: 0 / 4.087 GB, free: 60.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005165/10.05, allocations: 0.7688 MB / 4.088 GB, free: 60.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001901/10.05, allocations: 0.8828 MB / 4.089 GB, free: 59.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/10.05, allocations: 0 / 4.089 GB, free: 59.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/10.05, allocations: 4 kB / 4.089 GB, free: 59.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002931/10.06, allocations: 263.7 kB / 4.089 GB, free: 58.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008778/10.06, allocations: 1.207 MB / 4.09 GB, free: 57.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/10.06, allocations: 187.6 kB / 4.091 GB, free: 57.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/10.06, allocations: 39.97 kB / 4.091 GB, free: 57.47 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/10.06, allocations: 4 kB / 4.091 GB, free: 57.47 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0023/10.06, allocations: 0.6585 MB / 4.091 GB, free: 56.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/10.06, allocations: 4 kB / 4.091 GB, free: 56.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/10.06, allocations: 4.25 kB / 4.091 GB, free: 56.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/10.06, allocations: 243.7 kB / 4.091 GB, free: 56.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/10.06, allocations: 4 kB / 4.091 GB, free: 56.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/10.07, allocations: 175.4 kB / 4.092 GB, free: 56.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/10.07, allocations: 31.98 kB / 4.092 GB, free: 56.36 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003172/10.07, allocations: 129.3 kB / 4.092 GB, free: 56.23 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/10.07, allocations: 94.88 kB / 4.092 GB, free: 56.13 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003097/10.07, allocations: 0.8636 MB / 4.093 GB, free: 55.26 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/10.07, allocations: 8 kB / 4.093 GB, free: 55.25 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/10.07, allocations: 3.984 kB / 4.093 GB, free: 55.25 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/10.07, allocations: 0 / 4.093 GB, free: 55.25 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/10.08, allocations: 1.934 MB / 4.095 GB, free: 53.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-05/10.08, allocations: 4.344 kB / 4.095 GB, free: 53.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003607/10.08, allocations: 239.6 kB / 4.095 GB, free: 53 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.337e-05/10.08, allocations: 8 kB / 4.095 GB, free: 52.99 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002359/10.08, allocations: 15.98 kB / 4.095 GB, free: 52.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008268/10.09, allocations: 1.199 MB / 4.096 GB, free: 51.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.31e-05/10.09, allocations: 11.89 kB / 4.096 GB, free: 51.72 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002743/10.09, allocations: 1.061 MB / 4.097 GB, free: 50.54 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003127/10.09, allocations: 1.559 MB / 4.099 GB, free: 48.86 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008547/10.09, allocations: 275.8 kB / 4.099 GB, free: 48.57 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002445/10.09, allocations: 7.906 kB / 4.099 GB, free: 48.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002392/10.09, allocations: 167.8 kB / 4.099 GB, free: 48.39 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/10.1, allocations: 52.27 kB / 4.099 GB, free: 48.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/10.1, allocations: 31.97 kB / 4.099 GB, free: 48.31 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008427/10.1, allocations: 447.1 kB / 4.1 GB, free: 47.88 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00566/10.1, allocations: 1.018 MB / 4.101 GB, free: 46.86 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003172/10.11, allocations: 1.867 MB / 4.102 GB, free: 44.91 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003912/10.11, allocations: 1.143 MB / 4.103 GB, free: 43.76 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/10.11, allocations: 0 / 4.103 GB, free: 43.76 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/10.11, allocations: 423 kB / 4.104 GB, free: 43.35 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003447/10.11, allocations: 338.9 kB / 4.104 GB, free: 43.02 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/10.12, allocations: 1.371 MB / 4.106 GB, free: 41.58 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/10.12, allocations: 1.168 MB / 4.107 GB, free: 40.39 MB / 0.948 GB Notification: Performance of SimCode: time 1.223e-06/10.12, allocations: 0 / 4.107 GB, free: 40.39 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)