Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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.134/2.134, allocations: 248.6 MB / 255.9 MB, free: 7.207 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.001704/0.001703, allocations: 180 kB / 315.1 MB, free: 4.277 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.881/1.881, allocations: 205.1 MB / 0.5658 GB, free: 388 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.001294/0.001294, allocations: 96.73 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4754/0.4767, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.6926, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.405/6.098, allocations: 2.182 GB / 3.065 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/6.098, allocations: 87.75 kB / 3.065 GB, free: 187.1 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 4.69/10.79, allocations: 1.036 GB / 4.102 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/10.79, allocations: 12 kB / 4.102 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/10.79, allocations: 206.3 kB / 4.102 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006942/10.8, allocations: 1.428 MB / 4.103 GB, free: 152 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/10.8, allocations: 16 kB / 4.103 GB, free: 152 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/10.8, allocations: 40 kB / 4.103 GB, free: 152 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001891/10.8, allocations: 0.7287 MB / 4.104 GB, free: 151.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/10.8, allocations: 0.8603 MB / 4.105 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/10.8, allocations: 7.938 kB / 4.105 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.77e-05/10.8, allocations: 0 / 4.105 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/10.8, allocations: 16 kB / 4.105 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006656/10.81, allocations: 4.721 MB / 4.109 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/10.81, allocations: 0.5196 MB / 4.11 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007202/10.81, allocations: 449.2 kB / 4.11 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003953/10.81, allocations: 202.3 kB / 4.111 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005767/10.81, allocations: 310.2 kB / 4.111 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=35): time 3.146e-06/10.81, allocations: 0 / 4.111 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35): time 0.004105/10.82, allocations: 0.9574 MB / 4.112 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/10.82, allocations: 85.05 kB / 4.112 GB, free: 142.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/10.82, allocations: 0.9139 MB / 4.113 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001582/10.82, allocations: 29.7 kB / 4.113 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/10.82, allocations: 356.2 kB / 4.113 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/10.82, allocations: 126.2 kB / 4.113 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/10.82, allocations: 0 / 4.113 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.227e-05/10.82, allocations: 322 kB / 4.114 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/10.82, allocations: 232.9 kB / 4.114 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007675/10.82, allocations: 0.5458 MB / 4.114 GB, free: 140 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006333/10.82, allocations: 329.6 kB / 4.115 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/10.82, allocations: 0 / 4.115 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003483/10.82, allocations: 1.097 MB / 4.116 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004862/10.82, allocations: 2.094 MB / 4.118 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/10.82, allocations: 8 kB / 4.118 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/10.83, allocations: 369.1 kB / 4.118 GB, free: 136 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/10.83, allocations: 63.91 kB / 4.118 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003463/10.83, allocations: 1.418 MB / 4.12 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/10.83, allocations: 115.4 kB / 4.12 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/10.83, allocations: 28 kB / 4.12 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/10.83, allocations: 4 kB / 4.12 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00231/10.83, allocations: 0.7653 MB / 4.12 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/10.83, allocations: 8 kB / 4.12 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/10.84, allocations: 309.4 kB / 4.121 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/10.84, allocations: 67.91 kB / 4.121 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007197/10.84, allocations: 3.455 MB / 4.124 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/10.85, allocations: 108 kB / 4.124 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-05/10.85, allocations: 27.91 kB / 4.124 GB, free: 129.5 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 (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 {11 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002346/10.85, allocations: 129.1 kB / 4.124 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/10.85, allocations: 98.78 kB / 4.125 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/10.85, allocations: 0.8618 MB / 4.125 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/10.85, allocations: 4 kB / 4.125 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/10.85, allocations: 0 / 4.125 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/10.85, allocations: 4 kB / 4.125 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004263/10.85, allocations: 1.787 MB / 4.127 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/10.85, allocations: 96 / 4.127 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/10.85, allocations: 32.14 kB / 4.127 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001/10.85, allocations: 324.8 kB / 4.127 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/10.85, allocations: 7.984 kB / 4.127 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/10.86, allocations: 1.258 MB / 4.129 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/10.86, allocations: 3.906 kB / 4.129 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002186/10.86, allocations: 1.049 MB / 4.13 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002447/10.86, allocations: 1.467 MB / 4.131 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007488/10.86, allocations: 235.7 kB / 4.131 GB, free: 122 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/10.86, allocations: 4 kB / 4.131 GB, free: 122 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/10.86, allocations: 79.75 kB / 4.131 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/10.86, allocations: 35.86 kB / 4.131 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/10.86, allocations: 12 kB / 4.132 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001338/10.86, allocations: 0.7216 MB / 4.132 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005075/10.87, allocations: 0.7882 MB / 4.133 GB, free: 120.3 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 (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 {11 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001978/10.87, allocations: 1.204 MB / 4.134 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004097/10.88, allocations: 1.187 MB / 4.135 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/10.88, allocations: 0 / 4.135 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/10.88, allocations: 325.8 kB / 4.136 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005895/10.88, allocations: 0.5767 MB / 4.136 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/10.89, allocations: 1.484 MB / 4.138 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/10.89, allocations: 1.3 MB / 4.139 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.383e-06/10.89, allocations: 0 / 4.139 GB, free: 114.3 MB / 0.8855 GB