Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Validation.Pump_stratos.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.Movers.Validation.Pump_stratos,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Movers_Validation_Pump_stratos",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.477/2.477, 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.001641/0.001641, allocations: 193.2 kB / 315.1 MB, free: 4.254 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.82/1.82, allocations: 205.1 MB / 0.5658 GB, free: 416 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.001276/0.001276, allocations: 94.94 kB / 0.67 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4881/0.4894, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.7055, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.372/7.078, allocations: 2.48 GB / 3.364 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/7.078, allocations: 93.98 kB / 3.364 GB, free: 216.4 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 3.91/10.99, allocations: 0.8601 GB / 4.224 GB, free: 16.89 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/10.99, allocations: 11.94 kB / 4.224 GB, free: 16.88 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005417/10.99, allocations: 0.5778 MB / 4.224 GB, free: 16.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05994/11.05, allocations: 17.45 MB / 4.241 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/11.05, allocations: 40 kB / 4.241 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005183/11.05, allocations: 83.91 kB / 4.241 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004212/11.06, allocations: 1.242 MB / 4.243 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004294/11.06, allocations: 1.382 MB / 4.244 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.591e-05/11.06, allocations: 0 / 4.244 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002519/11.06, allocations: 0 / 4.244 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.266e-05/11.06, allocations: 39.98 kB / 4.244 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0241/11.09, allocations: 8.368 MB / 4.252 GB, free: 3.145 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003221/11.09, allocations: 1.156 MB / 4.253 GB, free: 1.984 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/11.09, allocations: 0.662 MB / 4.254 GB, free: 1.32 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4057/11.5, allocations: 3.041 MB / 4.257 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/11.5, allocations: 43.77 kB / 4.257 GB, free: 201.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 4.478e-06/11.5, allocations: 1.969 kB / 4.257 GB, free: 201.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.006794/11.51, allocations: 1.776 MB / 4.259 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/11.51, allocations: 55.5 kB / 4.259 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01028/11.52, allocations: 2.785 MB / 4.261 GB, free: 201 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005182/11.52, allocations: 25.7 kB / 4.261 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00132/11.52, allocations: 0.6815 MB / 4.262 GB, free: 200.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008564/11.52, allocations: 209.4 kB / 4.262 GB, free: 200.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/11.52, allocations: 2.344 kB / 4.262 GB, free: 200.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000218/11.52, allocations: 354.3 kB / 4.263 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002169/11.52, allocations: 0.599 MB / 4.263 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002865/11.52, allocations: 1.162 MB / 4.264 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004453/11.53, allocations: 0.8408 MB / 4.265 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.176e-05/11.53, allocations: 3.25 kB / 4.265 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00741/11.54, allocations: 2.227 MB / 4.267 GB, free: 199.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.00131/11.54, allocations: 6.167 MB / 4.273 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.514e-05/11.54, allocations: 15.59 kB / 4.273 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/11.54, allocations: 495.1 kB / 4.274 GB, free: 193 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/11.54, allocations: 237.1 kB / 4.274 GB, free: 193 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00365/11.55, allocations: 2.594 MB / 4.277 GB, free: 191.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003331/11.55, allocations: 186.9 kB / 4.277 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003552/11.55, allocations: 117.7 kB / 4.277 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/11.55, allocations: 5.531 kB / 4.277 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006526/11.56, allocations: 1.745 MB / 4.279 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-05/11.56, allocations: 14.91 kB / 4.279 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002397/11.56, allocations: 0.5751 MB / 4.279 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/11.56, allocations: 226.8 kB / 4.279 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01939/11.58, allocations: 7.956 MB / 4.287 GB, free: 187.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004035/11.58, allocations: 146 kB / 4.287 GB, free: 187.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006627/11.58, allocations: 103.6 kB / 4.287 GB, free: 187.9 MB / 0.8855 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009052/11.58, allocations: 149.6 kB / 4.288 GB, free: 187.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001392/11.59, allocations: 237.7 kB / 4.288 GB, free: 187.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/11.6, allocations: 1.682 MB / 4.289 GB, free: 187.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-05/11.6, allocations: 11.09 kB / 4.289 GB, free: 187.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/11.6, allocations: 0 / 4.289 GB, free: 187.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005636/11.6, allocations: 1.363 MB / 4.291 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/11.62, allocations: 3.622 MB / 4.294 GB, free: 186.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/11.62, allocations: 0 / 4.294 GB, free: 186.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/11.62, allocations: 126 kB / 4.294 GB, free: 186.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/11.62, allocations: 244.8 kB / 4.295 GB, free: 186.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/11.62, allocations: 14.62 kB / 4.295 GB, free: 186.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002649/11.62, allocations: 2.042 MB / 4.297 GB, free: 185 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/11.62, allocations: 3.562 kB / 4.297 GB, free: 185 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007067/11.63, allocations: 2.109 MB / 4.299 GB, free: 184.6 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008256/11.64, allocations: 3.148 MB / 4.302 GB, free: 183.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001958/11.64, allocations: 0.5587 MB / 4.302 GB, free: 183.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000675/11.64, allocations: 3.469 kB / 4.302 GB, free: 183.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002294/11.64, allocations: 95.91 kB / 4.302 GB, free: 183.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/11.64, allocations: 45.58 kB / 4.303 GB, free: 183.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/11.64, allocations: 44.11 kB / 4.303 GB, free: 183.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.004786/11.65, allocations: 2.095 MB / 4.305 GB, free: 183.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00939/11.66, allocations: 1.633 MB / 4.306 GB, free: 183.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (floMacDyn.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003279/11.66, allocations: 1.303 MB / 4.307 GB, free: 183.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00586/11.67, allocations: 2.423 MB / 4.31 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/11.67, allocations: 0 / 4.31 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001406/11.67, allocations: 486.2 kB / 4.31 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00859/11.68, allocations: 1.135 MB / 4.311 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/11.69, allocations: 3.345 MB / 4.315 GB, free: 182.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004129/11.69, allocations: 2.065 MB / 4.317 GB, free: 181.4 MB / 0.8855 GB Notification: Performance of SimCode: time 3.126e-06/11.69, allocations: 0 / 4.317 GB, free: 181.4 MB / 0.8855 GB