Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.28/2.28, allocations: 248.6 MB / 255.9 MB, free: 7.211 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.00164/0.00164, allocations: 185.2 kB / 315.1 MB, free: 4.312 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.925/1.925, allocations: 205.1 MB / 0.5658 GB, free: 348 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.00128/0.001279, allocations: 90.78 kB / 0.67 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4733/0.4746, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.703, allocations: 106.3 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.51/6.213, allocations: 2.184 GB / 3.068 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003777/6.214, allocations: 91.44 kB / 3.068 GB, free: 184.7 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 4.584/10.8, allocations: 0.9407 GB / 4.009 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/10.8, allocations: 13.45 kB / 4.009 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/10.8, allocations: 184.6 kB / 4.009 GB, free: 200.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004495/10.8, allocations: 1.118 MB / 4.01 GB, free: 200 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/10.8, allocations: 20.98 kB / 4.01 GB, free: 200 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/10.8, allocations: 35.75 kB / 4.01 GB, free: 200 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001411/10.81, allocations: 486.1 kB / 4.01 GB, free: 200 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/10.81, allocations: 0.6844 MB / 4.011 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/10.81, allocations: 11.75 kB / 4.011 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-05/10.81, allocations: 3.844 kB / 4.011 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/10.81, allocations: 15.62 kB / 4.011 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006412/10.81, allocations: 4.66 MB / 4.016 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009596/10.82, allocations: 447 kB / 4.016 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004921/10.82, allocations: 253.7 kB / 4.016 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003898/10.82, allocations: 199.8 kB / 4.017 GB, free: 196 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005158/10.82, allocations: 264.2 kB / 4.017 GB, free: 196 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 2.695e-06/10.82, allocations: 3.062 kB / 4.017 GB, free: 196 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.002917/10.82, allocations: 0.7546 MB / 4.018 GB, free: 195.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/10.82, allocations: 87.91 kB / 4.018 GB, free: 195.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/10.82, allocations: 0.8739 MB / 4.019 GB, free: 195.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/10.82, allocations: 31.23 kB / 4.019 GB, free: 195.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/10.82, allocations: 335.1 kB / 4.019 GB, free: 195.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/10.82, allocations: 102.7 kB / 4.019 GB, free: 195.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.483e-05/10.82, allocations: 0 / 4.019 GB, free: 195.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.6e-05/10.82, allocations: 331 kB / 4.019 GB, free: 195 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/10.82, allocations: 191.8 kB / 4.019 GB, free: 195 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006518/10.82, allocations: 0.4974 MB / 4.02 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005663/10.82, allocations: 275.1 kB / 4.02 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/10.82, allocations: 0 / 4.02 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002773/10.83, allocations: 0.897 MB / 4.021 GB, free: 194.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004439/10.83, allocations: 2.091 MB / 4.023 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/10.83, allocations: 11.64 kB / 4.023 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008095/10.83, allocations: 260.1 kB / 4.023 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/10.83, allocations: 66.7 kB / 4.023 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002913/10.83, allocations: 1.236 MB / 4.025 GB, free: 191.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/10.83, allocations: 87.88 kB / 4.025 GB, free: 191.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.974e-05/10.83, allocations: 28.08 kB / 4.025 GB, free: 191.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/10.83, allocations: 7.812 kB / 4.025 GB, free: 191.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001792/10.84, allocations: 0.5759 MB / 4.025 GB, free: 191.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/10.84, allocations: 3.906 kB / 4.025 GB, free: 191.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/10.84, allocations: 220.1 kB / 4.026 GB, free: 191.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/10.84, allocations: 65.27 kB / 4.026 GB, free: 191.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005798/10.84, allocations: 2.75 MB / 4.028 GB, free: 190.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/10.84, allocations: 74.5 kB / 4.028 GB, free: 190.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/10.84, allocations: 26.34 kB / 4.028 GB, free: 190.3 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_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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002476/10.84, allocations: 128.3 kB / 4.029 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/10.84, allocations: 93.75 kB / 4.029 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/10.85, allocations: 0.6541 MB / 4.029 GB, free: 190.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/10.85, allocations: 3.906 kB / 4.029 GB, free: 190.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/10.85, allocations: 3.938 kB / 4.029 GB, free: 190.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/10.85, allocations: 5.453 kB / 4.029 GB, free: 190.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00402/10.85, allocations: 1.475 MB / 4.031 GB, free: 189.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/10.85, allocations: 3.188 kB / 4.031 GB, free: 189.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/10.85, allocations: 23.22 kB / 4.031 GB, free: 189.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006315/10.85, allocations: 223.3 kB / 4.031 GB, free: 189.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/10.85, allocations: 5.531 kB / 4.031 GB, free: 189.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/10.85, allocations: 1.093 MB / 4.032 GB, free: 189 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/10.85, allocations: 0 / 4.032 GB, free: 189 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00181/10.86, allocations: 0.8589 MB / 4.033 GB, free: 188.6 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002046/10.86, allocations: 1.285 MB / 4.034 GB, free: 187.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007344/10.86, allocations: 210.3 kB / 4.034 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/10.86, allocations: 7.688 kB / 4.034 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/10.86, allocations: 48.69 kB / 4.034 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/10.86, allocations: 30.66 kB / 4.034 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/10.86, allocations: 13.31 kB / 4.034 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001401/10.86, allocations: 0.6884 MB / 4.035 GB, free: 187.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005007/10.87, allocations: 0.663 MB / 4.036 GB, free: 187.6 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_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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001827/10.87, allocations: 1.103 MB / 4.037 GB, free: 187.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003961/10.87, allocations: 1.031 MB / 4.038 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/10.87, allocations: 0 / 4.038 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/10.87, allocations: 259.3 kB / 4.038 GB, free: 187 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003633/10.88, allocations: 376.3 kB / 4.038 GB, free: 187 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/10.88, allocations: 1.384 MB / 4.04 GB, free: 186.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001234/10.88, allocations: 1.261 MB / 4.041 GB, free: 185.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.342e-06/10.88, allocations: 0 / 4.041 GB, free: 185.9 MB / 0.8855 GB