Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.068/2.068, allocations: 248.6 MB / 255.9 MB, free: 7.102 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.001663/0.001663, allocations: 187.5 kB / 315.1 MB, free: 4.246 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.775/1.775, allocations: 205.1 MB / 0.5658 GB, free: 364 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.001338/0.001338, allocations: 83.34 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.448/0.4494, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.6515, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.404/6.056, allocations: 2.182 GB / 3.065 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/6.056, allocations: 93.31 kB / 3.065 GB, free: 187.2 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.494/10.55, allocations: 0.9291 GB / 3.994 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/10.55, allocations: 10.34 kB / 3.994 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/10.55, allocations: 186.7 kB / 3.995 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004477/10.56, allocations: 1.094 MB / 3.996 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/10.56, allocations: 15.59 kB / 3.996 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/10.56, allocations: 38.53 kB / 3.996 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001539/10.56, allocations: 495.4 kB / 3.996 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/10.56, allocations: 0.6865 MB / 3.997 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/10.56, allocations: 0 / 3.997 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.85e-05/10.56, allocations: 7.844 kB / 3.997 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/10.56, allocations: 11.28 kB / 3.997 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006669/10.57, allocations: 4.664 MB / 4.001 GB, free: 234 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/10.57, allocations: 448.3 kB / 4.002 GB, free: 233.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005343/10.57, allocations: 250 kB / 4.002 GB, free: 233.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004491/10.57, allocations: 202.4 kB / 4.002 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005852/10.57, allocations: 270.3 kB / 4.002 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 3.336e-06/10.57, allocations: 4.812 kB / 4.002 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001804/10.57, allocations: 499.5 kB / 4.003 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/10.57, allocations: 84.59 kB / 4.003 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/10.57, allocations: 0.8733 MB / 4.004 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001435/10.57, allocations: 32.45 kB / 4.004 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/10.57, allocations: 336.9 kB / 4.004 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/10.57, allocations: 109.2 kB / 4.004 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/10.57, allocations: 0 / 4.004 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.248e-05/10.57, allocations: 328.6 kB / 4.005 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000503/10.57, allocations: 186.5 kB / 4.005 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007773/10.58, allocations: 0.5053 MB / 4.005 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006715/10.58, allocations: 284 kB / 4.006 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/10.58, allocations: 2.125 kB / 4.006 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001844/10.58, allocations: 0.6228 MB / 4.006 GB, free: 231.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004972/10.58, allocations: 2.089 MB / 4.008 GB, free: 229.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/10.58, allocations: 5.188 kB / 4.008 GB, free: 229.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.615e-05/10.58, allocations: 16.66 kB / 4.008 GB, free: 229.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003681/10.58, allocations: 282.3 kB / 4.009 GB, free: 229.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004566/10.59, allocations: 6.235 MB / 4.015 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/10.59, allocations: 82.69 kB / 4.015 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/10.59, allocations: 28.73 kB / 4.015 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/10.59, allocations: 4.844 kB / 4.015 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001567/10.59, allocations: 415.2 kB / 4.015 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/10.59, allocations: 9.438 kB / 4.015 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/10.59, allocations: 8.859 kB / 4.015 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/10.59, allocations: 157.2 kB / 4.015 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/10.59, allocations: 9.812 kB / 4.015 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/10.59, allocations: 75.55 kB / 4.015 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/10.59, allocations: 30.5 kB / 4.015 GB, free: 223.1 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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004593/10.59, allocations: 127.6 kB / 4.016 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005463/10.6, allocations: 91.78 kB / 4.016 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/10.6, allocations: 465 kB / 4.016 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/10.6, allocations: 3.438 kB / 4.016 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/10.6, allocations: 4.375 kB / 4.016 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/10.6, allocations: 0.9688 kB / 4.016 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00657/10.6, allocations: 1.273 MB / 4.017 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/10.6, allocations: 5.5 kB / 4.017 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002226/10.61, allocations: 166.6 kB / 4.017 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.819e-05/10.61, allocations: 3.094 kB / 4.017 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.141e-05/10.61, allocations: 9.594 kB / 4.018 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003584/10.61, allocations: 6.077 MB / 4.023 GB, free: 216.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/10.61, allocations: 2.531 kB / 4.023 GB, free: 216.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001319/10.61, allocations: 0.6418 MB / 4.024 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001512/10.61, allocations: 1.074 MB / 4.025 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006372/10.61, allocations: 209.9 kB / 4.025 GB, free: 214.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/10.61, allocations: 8.703 kB / 4.025 GB, free: 214.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009836/10.62, allocations: 53.23 kB / 4.025 GB, free: 214.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/10.62, allocations: 26.77 kB / 4.025 GB, free: 214.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/10.62, allocations: 13.8 kB / 4.025 GB, free: 214.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001579/10.62, allocations: 0.6801 MB / 4.026 GB, free: 214.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004974/10.62, allocations: 0.6323 MB / 4.027 GB, free: 214.2 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 (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002092/10.62, allocations: 1.04 MB / 4.028 GB, free: 213.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006094/10.63, allocations: 0.9549 MB / 4.029 GB, free: 213.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/10.63, allocations: 1.094 kB / 4.029 GB, free: 213.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/10.63, allocations: 287.3 kB / 4.029 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003776/10.64, allocations: 369.9 kB / 4.029 GB, free: 213.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/10.64, allocations: 1.391 MB / 4.031 GB, free: 213 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001563/10.64, allocations: 1.262 MB / 4.032 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.653e-06/10.64, allocations: 0 / 4.032 GB, free: 212.3 MB / 0.8698 GB