Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.782/1.782, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.001377/0.001378, allocations: 185.3 kB / 366.3 MB, free: 2 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.649/1.649, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.00128/0.00128, allocations: 84.41 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2992/0.3005, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7645/1.065, allocations: 116.3 MB / 0.9726 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.509/6.574, allocations: 2.325 GB / 3.297 GB, free: 129.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/6.575, allocations: 83.95 kB / 3.297 GB, free: 129.5 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 2.516/9.091, allocations: 0.7885 GB / 4.086 GB, free: 54.12 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/9.091, allocations: 8 kB / 4.086 GB, free: 54.11 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/9.093, allocations: 478.1 kB / 4.086 GB, free: 53.64 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/9.095, allocations: 1.027 MB / 4.087 GB, free: 52.57 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006073/9.096, allocations: 181.8 kB / 4.088 GB, free: 52.39 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/9.096, allocations: 44 kB / 4.088 GB, free: 52.35 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001251/9.097, allocations: 0.7654 MB / 4.088 GB, free: 51.59 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/9.098, allocations: 0.831 MB / 4.089 GB, free: 50.73 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/9.098, allocations: 3.938 kB / 4.089 GB, free: 50.72 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.613e-05/9.099, allocations: 0 / 4.089 GB, free: 50.72 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.562e-05/9.099, allocations: 34 kB / 4.089 GB, free: 50.69 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006235/9.105, allocations: 4.118 MB / 4.093 GB, free: 46.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007147/9.106, allocations: 0.535 MB / 4.094 GB, free: 45.76 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004067/9.106, allocations: 337.4 kB / 4.094 GB, free: 45.43 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006957/9.107, allocations: 0.6408 MB / 4.095 GB, free: 44.66 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005634/9.107, allocations: 451.6 kB / 4.095 GB, free: 44.21 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 3.496e-06/9.107, allocations: 0 / 4.095 GB, free: 44.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.001655/9.109, allocations: 0.7297 MB / 4.096 GB, free: 43.47 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/9.109, allocations: 85.61 kB / 4.096 GB, free: 43.37 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006402/9.11, allocations: 0.5668 MB / 4.097 GB, free: 42.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.069e-05/9.11, allocations: 33.7 kB / 4.097 GB, free: 42.76 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/9.11, allocations: 312.1 kB / 4.097 GB, free: 42.45 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/9.11, allocations: 189.2 kB / 4.097 GB, free: 42.26 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/9.11, allocations: 0 / 4.097 GB, free: 42.26 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.361e-05/9.11, allocations: 330 kB / 4.097 GB, free: 41.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/9.111, allocations: 265.2 kB / 4.098 GB, free: 41.67 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/9.111, allocations: 422.8 kB / 4.098 GB, free: 41.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006642/9.112, allocations: 329.2 kB / 4.098 GB, free: 40.88 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/9.112, allocations: 4 kB / 4.098 GB, free: 40.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001317/9.113, allocations: 0.7766 MB / 4.099 GB, free: 40.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001737/9.113, allocations: 0.875 MB / 4.1 GB, free: 39.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/9.113, allocations: 4 kB / 4.1 GB, free: 39.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/9.113, allocations: 4 kB / 4.1 GB, free: 39.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/9.115, allocations: 267.6 kB / 4.1 GB, free: 38.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005789/9.115, allocations: 1.211 MB / 4.101 GB, free: 37.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/9.117, allocations: 175.7 kB / 4.102 GB, free: 37.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.775e-05/9.117, allocations: 35.95 kB / 4.102 GB, free: 37.41 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/9.117, allocations: 4.781 kB / 4.102 GB, free: 37.41 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001222/9.118, allocations: 0.6625 MB / 4.102 GB, free: 36.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/9.118, allocations: 112 / 4.102 GB, free: 36.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.064e-06/9.118, allocations: 11.94 kB / 4.102 GB, free: 36.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/9.119, allocations: 235.9 kB / 4.102 GB, free: 36.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/9.119, allocations: 7.984 kB / 4.102 GB, free: 36.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/9.12, allocations: 183.4 kB / 4.103 GB, free: 36.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.323e-05/9.12, allocations: 35.97 kB / 4.103 GB, free: 36.29 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.0002121/9.121, allocations: 112.9 kB / 4.103 GB, free: 36.17 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/9.121, allocations: 90.88 kB / 4.103 GB, free: 36.08 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/9.122, allocations: 0.8675 MB / 4.104 GB, free: 35.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/9.122, allocations: 4 kB / 4.104 GB, free: 35.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/9.122, allocations: 8 kB / 4.104 GB, free: 35.19 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/9.123, allocations: 3.984 kB / 4.104 GB, free: 35.18 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003004/9.126, allocations: 1.931 MB / 4.106 GB, free: 33.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/9.126, allocations: 4 kB / 4.106 GB, free: 33.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/9.127, allocations: 240 kB / 4.106 GB, free: 32.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/9.127, allocations: 4 kB / 4.106 GB, free: 32.93 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.943e-05/9.127, allocations: 15.98 kB / 4.106 GB, free: 32.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004013/9.127, allocations: 1.203 MB / 4.107 GB, free: 31.66 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/9.127, allocations: 4 kB / 4.107 GB, free: 31.66 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001402/9.129, allocations: 1.073 MB / 4.108 GB, free: 30.47 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001702/9.13, allocations: 1.552 MB / 4.11 GB, free: 28.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004636/9.131, allocations: 275.8 kB / 4.11 GB, free: 28.51 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/9.131, allocations: 11.89 kB / 4.11 GB, free: 28.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/9.132, allocations: 159.8 kB / 4.11 GB, free: 28.34 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/9.132, allocations: 60.2 kB / 4.11 GB, free: 28.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.968e-05/9.132, allocations: 35.91 kB / 4.11 GB, free: 28.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004968/9.133, allocations: 447.1 kB / 4.111 GB, free: 27.82 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003721/9.137, allocations: 1.018 MB / 4.112 GB, free: 26.8 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.002154/9.139, allocations: 1.879 MB / 4.113 GB, free: 24.83 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002136/9.141, allocations: 1.136 MB / 4.115 GB, free: 23.68 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/9.141, allocations: 320 / 4.115 GB, free: 23.68 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007235/9.142, allocations: 425.4 kB / 4.115 GB, free: 23.27 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/9.144, allocations: 338.6 kB / 4.115 GB, free: 22.94 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003117/9.147, allocations: 1.361 MB / 4.117 GB, free: 21.51 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008042/9.147, allocations: 1.164 MB / 4.118 GB, free: 20.32 MB / 0.948 GB Notification: Performance of SimCode: time 7.61e-07/9.147, allocations: 0 / 4.118 GB, free: 20.32 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)