Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",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.227/2.227, allocations: 248.6 MB / 255.9 MB, free: 7.121 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.001677/0.001677, allocations: 189.2 kB / 315.1 MB, free: 4.289 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.861/1.861, allocations: 205.1 MB / 0.5658 GB, free: 356 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.001266/0.001266, allocations: 94.69 kB / 0.67 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4646/0.4659, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.6711, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.584/6.255, allocations: 2.182 GB / 3.065 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/6.255, allocations: 82.39 kB / 3.065 GB, free: 183.5 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 4.673/10.93, allocations: 0.9287 GB / 3.994 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/10.93, allocations: 9.594 kB / 3.994 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/10.93, allocations: 185.8 kB / 3.994 GB, free: 200.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007026/10.94, allocations: 1.372 MB / 3.995 GB, free: 200 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/10.94, allocations: 15.5 kB / 3.995 GB, free: 200 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/10.94, allocations: 40.94 kB / 3.996 GB, free: 200 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001437/10.94, allocations: 0.5052 MB / 3.996 GB, free: 200 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/10.94, allocations: 0.7067 MB / 3.997 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/10.94, allocations: 7.156 kB / 3.997 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.256e-05/10.94, allocations: 6.703 kB / 3.997 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/10.94, allocations: 14.25 kB / 3.997 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008534/10.95, allocations: 4.146 MB / 4.001 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/10.95, allocations: 490.6 kB / 4.001 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/10.95, allocations: 348.3 kB / 4.002 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007031/10.95, allocations: 191.2 kB / 4.002 GB, free: 196.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008089/10.95, allocations: 299.6 kB / 4.002 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 5.922e-06/10.95, allocations: 1.75 kB / 4.002 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.004983/10.96, allocations: 0.8279 MB / 4.003 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/10.96, allocations: 84.95 kB / 4.003 GB, free: 196.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003161/10.96, allocations: 0.8701 MB / 4.004 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000272/10.96, allocations: 28.2 kB / 4.004 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007042/10.96, allocations: 333 kB / 4.004 GB, free: 196.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/10.96, allocations: 115.4 kB / 4.004 GB, free: 196 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/10.96, allocations: 0 / 4.004 GB, free: 196 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.875e-05/10.96, allocations: 325.7 kB / 4.005 GB, free: 195.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000871/10.96, allocations: 213 kB / 4.005 GB, free: 195.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/10.97, allocations: 0.5292 MB / 4.005 GB, free: 195.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008452/10.97, allocations: 298.7 kB / 4.006 GB, free: 195.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/10.97, allocations: 112 / 4.006 GB, free: 195.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.004479/10.97, allocations: 0.9637 MB / 4.007 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006387/10.97, allocations: 2.1 MB / 4.009 GB, free: 193 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/10.97, allocations: 6.5 kB / 4.009 GB, free: 193 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/10.97, allocations: 275.2 kB / 4.009 GB, free: 193 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000688/10.97, allocations: 75.8 kB / 4.009 GB, free: 193 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004309/10.98, allocations: 1.26 MB / 4.01 GB, free: 192.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/10.98, allocations: 98 kB / 4.01 GB, free: 192.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/10.98, allocations: 29.02 kB / 4.01 GB, free: 192.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/10.98, allocations: 5.531 kB / 4.01 GB, free: 192.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002869/10.98, allocations: 0.6562 MB / 4.011 GB, free: 192.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/10.98, allocations: 7.781 kB / 4.011 GB, free: 192.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/10.99, allocations: 212.5 kB / 4.011 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006665/10.99, allocations: 69.03 kB / 4.011 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006614/10.99, allocations: 2.837 MB / 4.014 GB, free: 191 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/11, allocations: 95.91 kB / 4.014 GB, free: 191 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-05/11, allocations: 19.19 kB / 4.014 GB, free: 191 MB / 0.8855 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002348/11, allocations: 132.1 kB / 4.014 GB, free: 190.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/11, allocations: 89.66 kB / 4.014 GB, free: 190.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/11, allocations: 0.7267 MB / 4.015 GB, free: 190.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/11, allocations: 3.906 kB / 4.015 GB, free: 190.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/11, allocations: 4 kB / 4.015 GB, free: 190.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/11, allocations: 7.078 kB / 4.015 GB, free: 190.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003893/11, allocations: 1.604 MB / 4.017 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/11, allocations: 3.906 kB / 4.017 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/11, allocations: 34.77 kB / 4.017 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006969/11, allocations: 231.5 kB / 4.017 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/11, allocations: 7.188 kB / 4.017 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/11, allocations: 1.1 MB / 4.018 GB, free: 189.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/11.01, allocations: 3.938 kB / 4.018 GB, free: 189.7 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001942/11.01, allocations: 0.9254 MB / 4.019 GB, free: 189.3 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002215/11.01, allocations: 1.336 MB / 4.02 GB, free: 188.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007032/11.01, allocations: 226.3 kB / 4.02 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/11.01, allocations: 5.375 kB / 4.02 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/11.01, allocations: 66.7 kB / 4.02 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/11.01, allocations: 32.67 kB / 4.02 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/11.01, allocations: 9.781 kB / 4.02 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.00134/11.01, allocations: 0.6811 MB / 4.021 GB, free: 188.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004666/11.02, allocations: 0.6779 MB / 4.022 GB, free: 188.2 MB / 0.8855 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001793/11.02, allocations: 1.035 MB / 4.023 GB, free: 188 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004118/11.02, allocations: 1.094 MB / 4.024 GB, free: 187.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/11.02, allocations: 0 / 4.024 GB, free: 187.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009806/11.02, allocations: 278.4 kB / 4.024 GB, free: 187.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005626/11.03, allocations: 0.5201 MB / 4.025 GB, free: 187.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004122/11.03, allocations: 1.416 MB / 4.026 GB, free: 187.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/11.04, allocations: 1.266 MB / 4.027 GB, free: 186.7 MB / 0.8855 GB Notification: Performance of SimCode: time 2.164e-06/11.04, allocations: 0 / 4.027 GB, free: 186.7 MB / 0.8855 GB