Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",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.1/package.mo): time 2.067/2.067, allocations: 248.6 MB / 255.9 MB, free: 7.113 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.001647/0.001647, allocations: 191.8 kB / 315.1 MB, free: 4.324 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.1 MB / 0.5658 GB, free: 496 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00188/0.001879, allocations: 102.9 kB / 0.67 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5108/0.5128, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.7356, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.708/6.444, allocations: 2.204 GB / 3.088 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/6.444, allocations: 86.58 kB / 3.088 GB, free: 164.3 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 4.962/11.41, allocations: 1.009 GB / 4.097 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/11.41, allocations: 7.812 kB / 4.097 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006773/11.41, allocations: 0.647 MB / 4.098 GB, free: 125.1 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006139/11.42, allocations: 1.47 MB / 4.099 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007295/11.42, allocations: 123.7 kB / 4.099 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006889/11.42, allocations: 80.48 kB / 4.099 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004076/11.43, allocations: 1.025 MB / 4.1 GB, free: 124.6 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004208/11.43, allocations: 1.234 MB / 4.101 GB, free: 124.4 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.049e-05/11.43, allocations: 2.906 kB / 4.101 GB, free: 124.4 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002088/11.43, allocations: 3.844 kB / 4.101 GB, free: 124.4 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.003e-05/11.43, allocations: 39.39 kB / 4.101 GB, free: 124.4 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01645/11.45, allocations: 5.975 MB / 4.107 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/11.45, allocations: 0.6026 MB / 4.108 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/11.45, allocations: 484.5 kB / 4.108 GB, free: 121.8 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009907/11.45, allocations: 488.6 kB / 4.109 GB, free: 121.3 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001456/11.45, allocations: 0.54 MB / 4.109 GB, free: 121.1 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=87): time 4.639e-06/11.45, allocations: 0 / 4.109 GB, free: 121.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=95): time 0.0158/11.47, allocations: 3.143 MB / 4.112 GB, free: 119.7 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.383e-05/11.47, allocations: 196.9 kB / 4.113 GB, free: 119.5 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/11.47, allocations: 0.92 MB / 4.113 GB, free: 119.1 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003739/11.47, allocations: 28.36 kB / 4.113 GB, free: 119.1 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005544/11.47, allocations: 497.3 kB / 4.114 GB, free: 118.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005408/11.47, allocations: 310.3 kB / 4.114 GB, free: 118.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/11.47, allocations: 1 kB / 4.114 GB, free: 118.5 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001285/11.47, allocations: 337.4 kB / 4.115 GB, free: 118.2 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/11.47, allocations: 387.6 kB / 4.115 GB, free: 118.1 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/11.48, allocations: 0.6021 MB / 4.116 GB, free: 117.6 MB / 0.9011 GB Notification: The following equation is consistent and got removed from the initialization problem: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.008014/11.48, allocations: 1.416 MB / 4.117 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.361e-06/11.48, allocations: 3.906 kB / 4.117 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007985/11.49, allocations: 1.612 MB / 4.118 GB, free: 116.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003321/11.49, allocations: 1.248 MB / 4.12 GB, free: 115.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/11.49, allocations: 4.469 kB / 4.12 GB, free: 115.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002002/11.49, allocations: 421.2 kB / 4.12 GB, free: 115.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/11.5, allocations: 179.4 kB / 4.12 GB, free: 115.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/11.51, allocations: 6.323 MB / 4.126 GB, free: 110 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003069/11.51, allocations: 129.2 kB / 4.127 GB, free: 110 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002633/11.51, allocations: 42 kB / 4.127 GB, free: 110 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/11.51, allocations: 3.875 kB / 4.127 GB, free: 110 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006972/11.52, allocations: 1.412 MB / 4.128 GB, free: 109.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/11.52, allocations: 8.203 kB / 4.128 GB, free: 109.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001876/11.52, allocations: 417.6 kB / 4.128 GB, free: 109.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/11.52, allocations: 172.8 kB / 4.129 GB, free: 109.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/11.53, allocations: 7.188 MB / 4.136 GB, free: 103.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003011/11.54, allocations: 127.9 kB / 4.136 GB, free: 103.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002616/11.54, allocations: 39.67 kB / 4.136 GB, free: 103.3 MB / 0.9011 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 10,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005482/11.54, allocations: 172.3 kB / 4.136 GB, free: 103.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005314/11.54, allocations: 149.7 kB / 4.136 GB, free: 103.1 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006892/11.55, allocations: 1.419 MB / 4.137 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-05/11.55, allocations: 8.031 kB / 4.137 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/11.55, allocations: 5.062 kB / 4.137 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006256/11.55, allocations: 1.287 MB / 4.139 GB, free: 102.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/11.56, allocations: 3.109 MB / 4.142 GB, free: 100.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/11.56, allocations: 3.5 kB / 4.142 GB, free: 100.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002469/11.57, allocations: 197.3 kB / 4.142 GB, free: 100.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008465/11.57, allocations: 188 kB / 4.142 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002901/11.57, allocations: 23.05 kB / 4.142 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004682/11.57, allocations: 2.402 MB / 4.144 GB, free: 98.63 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.217e-05/11.57, allocations: 8.5 kB / 4.144 GB, free: 98.62 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009283/11.58, allocations: 2.37 MB / 4.147 GB, free: 97.3 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01122/11.59, allocations: 3.503 MB / 4.15 GB, free: 95.21 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/11.6, allocations: 352.7 kB / 4.151 GB, free: 94.97 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007336/11.6, allocations: 19.56 kB / 4.151 GB, free: 94.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003167/11.6, allocations: 125.8 kB / 4.151 GB, free: 94.96 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003618/11.6, allocations: 63.91 kB / 4.151 GB, free: 94.94 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/11.6, allocations: 41.88 kB / 4.151 GB, free: 94.93 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.002081/11.6, allocations: 0.701 MB / 4.151 GB, free: 94.62 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01188/11.61, allocations: 1.539 MB / 4.153 GB, free: 93.85 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005894/11.62, allocations: 2.637 MB / 4.156 GB, free: 92.94 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006956/11.63, allocations: 2.387 MB / 4.158 GB, free: 91.53 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/11.63, allocations: 8.062 kB / 4.158 GB, free: 91.53 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001869/11.63, allocations: 0.6564 MB / 4.159 GB, free: 91.2 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007584/11.64, allocations: 0.6948 MB / 4.159 GB, free: 91.06 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/11.65, allocations: 2.637 MB / 4.162 GB, free: 89.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002368/11.65, allocations: 1.5 MB / 4.163 GB, free: 88.65 MB / 0.9011 GB Notification: Performance of SimCode: time 2.995e-06/11.65, allocations: 0 / 4.163 GB, free: 88.65 MB / 0.9011 GB