Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2.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.Examples.Performance.Example1v2,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_Example1v2",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.146/2.146, allocations: 248.6 MB / 255.9 MB, free: 348 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002183/0.002183, allocations: 188.6 kB / 315.1 MB, free: 7.75 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.166/2.166, allocations: 205.1 MB / 0.5658 GB, free: 25.46 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.001287/0.001287, allocations: 94.88 kB / 0.67 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2816/0.2829, allocations: 112.4 MB / 0.7797 GB, free: 2.457 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5054/0.7884, allocations: 106.2 MB / 0.8835 GB, free: 77.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.846, allocations: 414.4 MB / 1.288 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000485/1.847, allocations: 89.45 kB / 1.288 GB, free: 8.625 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 11.39/13.23, allocations: 2.287 GB / 3.575 GB, free: 108.5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/13.23, allocations: 10.56 kB / 3.575 GB, free: 108.5 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/13.25, allocations: 1.259 MB / 3.576 GB, free: 108 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05307/13.3, allocations: 12.87 MB / 3.589 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004002/13.3, allocations: 176.3 kB / 3.589 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003555/13.3, allocations: 356 kB / 3.589 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04482/13.35, allocations: 18.14 MB / 3.607 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04312/13.39, allocations: 12.76 MB / 3.62 GB, free: 105.7 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004488/13.39, allocations: 24.97 kB / 3.62 GB, free: 105.7 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004785/13.4, allocations: 15.09 kB / 3.62 GB, free: 105.7 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004508/13.4, allocations: 138.4 kB / 3.62 GB, free: 105.7 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1842/13.58, allocations: 62.22 MB / 3.68 GB, free: 53.38 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01809/13.6, allocations: 8.47 MB / 3.689 GB, free: 44.9 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01927/13.62, allocations: 9.413 MB / 3.698 GB, free: 35.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1026/13.72, allocations: 29.51 MB / 3.727 GB, free: 5.699 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0228/13.74, allocations: 7.358 MB / 3.734 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=301): time 1.109e-05/13.74, allocations: 0 / 3.734 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=301): time 0.4968/14.24, allocations: 14.95 MB / 3.749 GB, free: 186.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/14.24, allocations: 83.53 kB / 3.749 GB, free: 186.3 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02024/14.26, allocations: 6.556 MB / 3.755 GB, free: 186 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.00256/14.26, allocations: 36.95 kB / 3.755 GB, free: 186 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.005815/14.27, allocations: 2.554 MB / 3.758 GB, free: 185.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.006353/14.28, allocations: 1.045 MB / 3.759 GB, free: 185.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002138/14.28, allocations: 0 / 3.759 GB, free: 185.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0005562/14.28, allocations: 499 kB / 3.759 GB, free: 185 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0153/14.29, allocations: 6.243 MB / 3.765 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01678/14.31, allocations: 8.02 MB / 3.773 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02019/14.33, allocations: 7.315 MB / 3.78 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.483e-05/14.33, allocations: 14.56 kB / 3.78 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.05747/14.39, allocations: 16.73 MB / 3.796 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.005477/14.39, allocations: 24.46 MB / 3.82 GB, free: 156.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002362/14.39, allocations: 49.69 kB / 3.82 GB, free: 156.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009426/14.4, allocations: 1.606 MB / 3.822 GB, free: 156.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0171/14.42, allocations: 1.565 MB / 3.823 GB, free: 156.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01552/14.44, allocations: 4.651 MB / 3.828 GB, free: 155 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01983/14.46, allocations: 0.6974 MB / 3.829 GB, free: 154.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003313/14.46, allocations: 0.5478 MB / 3.829 GB, free: 154.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/14.46, allocations: 3.719 kB / 3.829 GB, free: 154.9 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05589/14.52, allocations: 15.89 MB / 3.845 GB, free: 154.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002125/14.52, allocations: 47.78 kB / 3.845 GB, free: 154.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009169/14.53, allocations: 1.479 MB / 3.846 GB, free: 154.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01691/14.54, allocations: 1.558 MB / 3.848 GB, free: 154.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02102/14.56, allocations: 7.882 MB / 3.855 GB, free: 151.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01936/14.58, allocations: 0.5925 MB / 3.856 GB, free: 151.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003289/14.59, allocations: 0.538 MB / 3.857 GB, free: 151.3 MB / 0.9167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: val.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (524): * Single equations (assignments): 519 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 4,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.004433/14.59, allocations: 262.3 kB / 3.857 GB, free: 151.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004746/14.6, allocations: 0.6938 MB / 3.857 GB, free: 150.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05584/14.65, allocations: 14.43 MB / 3.872 GB, free: 150.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.59e-05/14.65, allocations: 35.19 kB / 3.872 GB, free: 150.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/14.65, allocations: 2.156 kB / 3.872 GB, free: 150.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02841/14.68, allocations: 10.33 MB / 3.882 GB, free: 150.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06621/14.75, allocations: 23.26 MB / 3.904 GB, free: 147.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.564e-05/14.75, allocations: 3.188 kB / 3.904 GB, free: 147.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01106/14.76, allocations: 0.6762 MB / 3.905 GB, free: 147.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003975/14.76, allocations: 0.8142 MB / 3.906 GB, free: 147.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001535/14.76, allocations: 70.3 kB / 3.906 GB, free: 147.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008148/14.77, allocations: 3.397 MB / 3.909 GB, free: 145.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/14.77, allocations: 5.766 kB / 3.909 GB, free: 145.5 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04782/14.82, allocations: 18.61 MB / 3.927 GB, free: 144.7 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06577/14.88, allocations: 26.51 MB / 3.953 GB, free: 136.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00954/14.89, allocations: 1.966 MB / 3.955 GB, free: 135.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004574/14.9, allocations: 23.33 kB / 3.955 GB, free: 135.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01402/14.91, allocations: 326.2 kB / 3.956 GB, free: 135.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001889/14.92, allocations: 195.1 kB / 3.956 GB, free: 135.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001287/14.92, allocations: 160.1 kB / 3.956 GB, free: 135.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.01537/14.93, allocations: 4.994 MB / 3.961 GB, free: 133.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.03568/14.97, allocations: 5.033 MB / 3.966 GB, free: 132.8 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (303): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 4,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004448/14.97, allocations: 1.175 MB / 3.967 GB, free: 132.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.06245/15.03, allocations: 23.14 MB / 3.989 GB, free: 123.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.645e-05/15.03, allocations: 3.188 kB / 3.989 GB, free: 123.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01563/15.05, allocations: 6.109 MB / 3.995 GB, free: 120.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03718/15.09, allocations: 3.811 MB / 3.999 GB, free: 119.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06148/15.15, allocations: 17.55 MB / 4.016 GB, free: 114.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02109/15.17, allocations: 6.542 MB / 4.023 GB, free: 112.8 MB / 0.9167 GB Notification: Performance of SimCode: time 1.643e-06/15.17, allocations: 0 / 4.023 GB, free: 112.8 MB / 0.9167 GB