Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.259/1.259, allocations: 249.4 MB / 256.7 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009653/0.0009653, allocations: 196.3 kB / 316 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.228/1.228, allocations: 205.1 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000885/0.0008852, allocations: 94.39 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3648/0.3658, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.5506, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.194/4.745, allocations: 2.442 GB / 3.326 GB, free: 307.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/4.745, allocations: 85.14 kB / 3.326 GB, free: 307.4 MB / 0.8698 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 1.942/6.688, allocations: 0.7651 GB / 4.092 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/6.688, allocations: 7.656 kB / 4.092 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/6.69, allocations: 485 kB / 4.092 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/6.692, allocations: 1.02 MB / 4.093 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005811/6.692, allocations: 185.1 kB / 4.093 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-05/6.692, allocations: 47.03 kB / 4.093 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001112/6.693, allocations: 0.7632 MB / 4.094 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/6.695, allocations: 0.8254 MB / 4.095 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/6.695, allocations: 0 / 4.095 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.631e-05/6.695, allocations: 3 kB / 4.095 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/6.695, allocations: 37.08 kB / 4.095 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005398/6.7, allocations: 4.127 MB / 4.099 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/6.701, allocations: 0.5292 MB / 4.099 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003832/6.701, allocations: 335.5 kB / 4.1 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006326/6.702, allocations: 0.6405 MB / 4.1 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005056/6.702, allocations: 437.5 kB / 4.101 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 1.914e-06/6.702, allocations: 0 / 4.101 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.001485/6.704, allocations: 0.7431 MB / 4.101 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/6.704, allocations: 81.58 kB / 4.102 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005382/6.704, allocations: 0.5626 MB / 4.102 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.208e-05/6.704, allocations: 29.64 kB / 4.102 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/6.705, allocations: 319 kB / 4.102 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/6.705, allocations: 180 kB / 4.103 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/6.705, allocations: 3.938 kB / 4.103 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.813e-05/6.705, allocations: 332.2 kB / 4.103 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/6.705, allocations: 262.3 kB / 4.103 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/6.706, allocations: 430 kB / 4.104 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005911/6.706, allocations: 333 kB / 4.104 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/6.706, allocations: 0 / 4.104 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001228/6.707, allocations: 0.7806 MB / 4.105 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001518/6.708, allocations: 0.8769 MB / 4.106 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/6.708, allocations: 8.969 kB / 4.106 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/6.708, allocations: 7.812 kB / 4.106 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/6.709, allocations: 258.2 kB / 4.106 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004922/6.709, allocations: 1.211 MB / 4.107 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/6.711, allocations: 178.6 kB / 4.107 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.332e-05/6.711, allocations: 33.19 kB / 4.107 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.233e-06/6.711, allocations: 13.16 kB / 4.107 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001155/6.712, allocations: 0.6557 MB / 4.108 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/6.712, allocations: 3.812 kB / 4.108 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/6.712, allocations: 7.531 kB / 4.108 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/6.713, allocations: 235.6 kB / 4.108 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/6.713, allocations: 12.5 kB / 4.108 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/6.714, allocations: 175.2 kB / 4.108 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.162e-05/6.714, allocations: 34.89 kB / 4.108 GB, free: 138.2 MB / 0.8698 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.0001707/6.714, allocations: 119.2 kB / 4.108 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/6.714, allocations: 84.06 kB / 4.108 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/6.716, allocations: 0.8705 MB / 4.109 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/6.716, allocations: 6.719 kB / 4.109 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/6.716, allocations: 0 / 4.109 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/6.716, allocations: 3.375 kB / 4.109 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/6.719, allocations: 1.944 MB / 4.111 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/6.719, allocations: 5.516 kB / 4.111 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/6.72, allocations: 236.5 kB / 4.111 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/6.72, allocations: 13.19 kB / 4.111 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.514e-05/6.72, allocations: 12.28 kB / 4.111 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003391/6.721, allocations: 1.204 MB / 4.113 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/6.721, allocations: 2.969 kB / 4.113 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00143/6.722, allocations: 1.068 MB / 4.114 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001759/6.724, allocations: 1.554 MB / 4.115 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004628/6.724, allocations: 277 kB / 4.115 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/6.725, allocations: 4.625 kB / 4.115 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/6.726, allocations: 170.1 kB / 4.116 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/6.726, allocations: 54.14 kB / 4.116 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.478e-05/6.726, allocations: 29.95 kB / 4.116 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007757/6.727, allocations: 445.8 kB / 4.116 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004033/6.731, allocations: 1.027 MB / 4.117 GB, free: 134.2 MB / 0.8698 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.002831/6.734, allocations: 1.873 MB / 4.119 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002391/6.736, allocations: 1.138 MB / 4.12 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/6.736, allocations: 1.125 kB / 4.12 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008024/6.737, allocations: 422.9 kB / 4.12 GB, free: 133 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/6.739, allocations: 340 kB / 4.121 GB, free: 133 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/6.742, allocations: 1.334 MB / 4.122 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008967/6.742, allocations: 1.163 MB / 4.123 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.293e-06/6.742, allocations: 0 / 4.123 GB, free: 131.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)