Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.ConstantEffectiveness,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.089/2.089, allocations: 387.2 MB / 394.5 MB, free: 13.27 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.001363/0.001363, allocations: 191.2 kB / 487 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.4 MB / 0.7819 GB, free: 6.738 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.0009091/0.0009091, allocations: 93.38 kB / 0.9213 GB, free: 43.64 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.3487/0.3496, allocations: 148.5 MB / 1.066 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8937/1.243, allocations: 142.3 MB / 1.205 GB, free: 72.66 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.46/6.703, allocations: 2.165 GB / 3.37 GB, free: 353.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/6.704, allocations: 83.95 kB / 3.37 GB, free: 353.2 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 2.602/9.306, allocations: 0.7967 GB / 4.167 GB, free: 224.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/9.306, allocations: 7.688 kB / 4.167 GB, free: 224.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002309/9.308, allocations: 481.3 kB / 4.167 GB, free: 224.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/9.31, allocations: 1.049 MB / 4.169 GB, free: 224.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006256/9.311, allocations: 175.7 kB / 4.169 GB, free: 224.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/9.311, allocations: 42.69 kB / 4.169 GB, free: 224.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001185/9.312, allocations: 0.7429 MB / 4.169 GB, free: 224.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/9.314, allocations: 0.8408 MB / 4.17 GB, free: 224.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/9.314, allocations: 0 / 4.17 GB, free: 224.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.008e-05/9.314, allocations: 0 / 4.17 GB, free: 224.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/9.314, allocations: 40.28 kB / 4.17 GB, free: 224.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006211/9.32, allocations: 4.132 MB / 4.174 GB, free: 222.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007097/9.321, allocations: 0.5279 MB / 4.175 GB, free: 222.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/9.321, allocations: 341.2 kB / 4.175 GB, free: 222.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000753/9.322, allocations: 0.6403 MB / 4.176 GB, free: 221.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005792/9.322, allocations: 439.4 kB / 4.176 GB, free: 221.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 2.865e-06/9.322, allocations: 2.844 kB / 4.176 GB, free: 221.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.001749/9.324, allocations: 0.7325 MB / 4.177 GB, free: 221.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/9.324, allocations: 89.3 kB / 4.177 GB, free: 221.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006447/9.325, allocations: 0.5646 MB / 4.178 GB, free: 221.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.855e-05/9.325, allocations: 32.58 kB / 4.178 GB, free: 221.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/9.325, allocations: 319.8 kB / 4.178 GB, free: 221.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/9.325, allocations: 178.5 kB / 4.178 GB, free: 221 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/9.325, allocations: 0 / 4.178 GB, free: 221 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.214e-05/9.325, allocations: 331.5 kB / 4.178 GB, free: 220.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/9.326, allocations: 269 kB / 4.179 GB, free: 220.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/9.326, allocations: 419.9 kB / 4.179 GB, free: 220.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/9.327, allocations: 338.6 kB / 4.179 GB, free: 220.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/9.327, allocations: 0 / 4.179 GB, free: 220.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001362/9.328, allocations: 0.7719 MB / 4.18 GB, free: 220.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000244/9.329, allocations: 0.8784 MB / 4.181 GB, free: 219.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/9.329, allocations: 3.156 kB / 4.181 GB, free: 219.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/9.329, allocations: 7.656 kB / 4.181 GB, free: 219.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/9.33, allocations: 256.2 kB / 4.181 GB, free: 219.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006047/9.331, allocations: 1.212 MB / 4.182 GB, free: 218.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/9.332, allocations: 186.9 kB / 4.183 GB, free: 218.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.966e-05/9.332, allocations: 39.39 kB / 4.183 GB, free: 218.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.998e-06/9.332, allocations: 3.25 kB / 4.183 GB, free: 218.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001261/9.334, allocations: 0.6601 MB / 4.183 GB, free: 218.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/9.334, allocations: 0 / 4.183 GB, free: 218.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/9.334, allocations: 7.781 kB / 4.183 GB, free: 218.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/9.335, allocations: 238 kB / 4.184 GB, free: 218.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/9.335, allocations: 12.34 kB / 4.184 GB, free: 218.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/9.336, allocations: 181 kB / 4.184 GB, free: 218.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-05/9.336, allocations: 30.47 kB / 4.184 GB, free: 218.4 MB / 1.151 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.0002356/9.336, allocations: 119.3 kB / 4.184 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/9.336, allocations: 89.41 kB / 4.184 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/9.338, allocations: 0.8542 MB / 4.185 GB, free: 218.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/9.338, allocations: 11.62 kB / 4.185 GB, free: 218.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/9.338, allocations: 3.875 kB / 4.185 GB, free: 218.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/9.338, allocations: 10.83 kB / 4.185 GB, free: 218.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/9.341, allocations: 1.928 MB / 4.187 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/9.341, allocations: 3.75 kB / 4.187 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/9.343, allocations: 245.3 kB / 4.187 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-06/9.343, allocations: 3.625 kB / 4.187 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.939e-05/9.343, allocations: 17.12 kB / 4.187 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004123/9.343, allocations: 1.201 MB / 4.188 GB, free: 216.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/9.343, allocations: 3.562 kB / 4.188 GB, free: 216.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001441/9.345, allocations: 1.064 MB / 4.189 GB, free: 216.1 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001699/9.346, allocations: 1.554 MB / 4.191 GB, free: 215.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004959/9.347, allocations: 284.2 kB / 4.191 GB, free: 215.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/9.347, allocations: 3.625 kB / 4.191 GB, free: 215.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/9.348, allocations: 168.1 kB / 4.191 GB, free: 215.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/9.348, allocations: 59.89 kB / 4.191 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.636e-05/9.348, allocations: 31.45 kB / 4.191 GB, free: 215.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005341/9.349, allocations: 443.4 kB / 4.192 GB, free: 215.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003467/9.352, allocations: 1.014 MB / 4.193 GB, free: 215 MB / 1.151 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.002387/9.355, allocations: 1.88 MB / 4.194 GB, free: 214.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002166/9.357, allocations: 1.135 MB / 4.196 GB, free: 214.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/9.357, allocations: 0 / 4.196 GB, free: 214.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007322/9.358, allocations: 426.6 kB / 4.196 GB, free: 214.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/9.36, allocations: 342.6 kB / 4.196 GB, free: 214.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/9.363, allocations: 1.361 MB / 4.198 GB, free: 214.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008223/9.363, allocations: 1.167 MB / 4.199 GB, free: 213.4 MB / 1.151 GB Notification: Performance of SimCode: time 7.92e-07/9.364, allocations: 0 / 4.199 GB, free: 213.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)