Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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 1.986/1.986, allocations: 248.6 MB / 255.9 MB, free: 364 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.001697/0.001696, allocations: 186.9 kB / 315.1 MB, free: 7.766 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.004/2.004, 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.001328/0.001327, allocations: 90.83 kB / 0.67 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2805/0.2819, allocations: 112.4 MB / 0.7797 GB, free: 2.457 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5288/0.8107, allocations: 106.2 MB / 0.8835 GB, free: 77.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.591/6.402, allocations: 2.183 GB / 3.067 GB, free: 241 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/6.402, allocations: 95.31 kB / 3.067 GB, free: 241 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 8.369/14.77, allocations: 1.738 GB / 4.805 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/14.77, allocations: 8 kB / 4.805 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/14.77, allocations: 194.5 kB / 4.805 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004078/14.78, allocations: 1.111 MB / 4.806 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/14.78, allocations: 20 kB / 4.807 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/14.78, allocations: 39.98 kB / 4.807 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001297/14.78, allocations: 493.7 kB / 4.807 GB, free: 202.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/14.78, allocations: 0.6733 MB / 4.808 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/14.78, allocations: 11.94 kB / 4.808 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-05/14.78, allocations: 7.891 kB / 4.808 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/14.78, allocations: 16 kB / 4.808 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006163/14.79, allocations: 4.668 MB / 4.812 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009446/14.79, allocations: 450.4 kB / 4.813 GB, free: 196 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004782/14.79, allocations: 246.7 kB / 4.813 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004088/14.79, allocations: 197.5 kB / 4.813 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004974/14.79, allocations: 265.1 kB / 4.813 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 2.765e-06/14.79, allocations: 0 / 4.813 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.003082/14.79, allocations: 0.768 MB / 4.814 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/14.79, allocations: 85.09 kB / 4.814 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/14.79, allocations: 0.8756 MB / 4.815 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/14.79, allocations: 33.69 kB / 4.815 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/14.79, allocations: 332.2 kB / 4.815 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/14.79, allocations: 106.5 kB / 4.816 GB, free: 193 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/14.79, allocations: 0 / 4.816 GB, free: 193 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.591e-05/14.79, allocations: 326.1 kB / 4.816 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/14.79, allocations: 192.7 kB / 4.816 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/14.8, allocations: 0.5077 MB / 4.817 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005477/14.8, allocations: 278.4 kB / 4.817 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.361e-06/14.8, allocations: 0 / 4.817 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002809/14.8, allocations: 0.8945 MB / 4.818 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004551/14.8, allocations: 2.105 MB / 4.82 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/14.8, allocations: 4 kB / 4.82 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007638/14.8, allocations: 234.5 kB / 4.82 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/14.8, allocations: 67.89 kB / 4.82 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/14.8, allocations: 1.135 MB / 4.821 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/14.8, allocations: 91.53 kB / 4.821 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/14.8, allocations: 27.98 kB / 4.821 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/14.8, allocations: 4 kB / 4.821 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001964/14.81, allocations: 0.5864 MB / 4.822 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/14.81, allocations: 7.984 kB / 4.822 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009224/14.81, allocations: 205.2 kB / 4.822 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/14.81, allocations: 63.91 kB / 4.822 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005186/14.81, allocations: 2.763 MB / 4.825 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/14.81, allocations: 75.69 kB / 4.825 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/14.81, allocations: 24 kB / 4.825 GB, free: 183 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002357/14.81, allocations: 122.7 kB / 4.825 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/14.82, allocations: 94.78 kB / 4.825 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/14.82, allocations: 0.6625 MB / 4.826 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/14.82, allocations: 7.984 kB / 4.826 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/14.82, allocations: 3.906 kB / 4.826 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/14.82, allocations: 4 kB / 4.826 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003702/14.82, allocations: 1.481 MB / 4.827 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/14.82, allocations: 4 kB / 4.827 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/14.82, allocations: 23.97 kB / 4.827 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005613/14.82, allocations: 188.9 kB / 4.827 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/14.82, allocations: 4 kB / 4.827 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/14.82, allocations: 1.019 MB / 4.828 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/14.82, allocations: 7.875 kB / 4.828 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001727/14.82, allocations: 0.8721 MB / 4.829 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002069/14.83, allocations: 1.268 MB / 4.83 GB, free: 177 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006812/14.83, allocations: 219.8 kB / 4.831 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/14.83, allocations: 4 kB / 4.831 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/14.83, allocations: 51.8 kB / 4.831 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/14.83, allocations: 27.95 kB / 4.831 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/14.83, allocations: 16 kB / 4.831 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001311/14.83, allocations: 0.6808 MB / 4.831 GB, free: 176 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004546/14.84, allocations: 0.6635 MB / 4.832 GB, free: 175.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001832/14.84, allocations: 1.119 MB / 4.833 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002424/14.84, allocations: 0.9118 MB / 4.834 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/14.84, allocations: 0 / 4.834 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006643/14.84, allocations: 214.6 kB / 4.834 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/14.84, allocations: 375.3 kB / 4.835 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/14.85, allocations: 1.388 MB / 4.836 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/14.85, allocations: 1.259 MB / 4.837 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.283e-06/14.85, allocations: 0 / 4.837 GB, free: 170.1 MB / 0.8698 GB