Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.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.PumpCurveDerivatives,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",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.22/2.22, allocations: 248.6 MB / 255.9 MB, free: 7.105 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.00171/0.001709, allocations: 191.9 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 2.201/2.201, allocations: 205.1 MB / 0.5658 GB, free: 288 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.001453/0.001452, allocations: 94.44 kB / 0.67 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5186/0.5201, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.7407, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.54/2.281, allocations: 398.9 MB / 1.273 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/2.281, allocations: 88.98 kB / 1.273 GB, free: 253.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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 4.66/6.941, allocations: 0.9315 GB / 2.205 GB, free: 36.24 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/6.941, allocations: 8 kB / 2.205 GB, free: 36.23 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/6.952, allocations: 0.963 MB / 2.206 GB, free: 35.26 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07839/7.03, allocations: 19.82 MB / 2.225 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/7.031, allocations: 59.91 kB / 2.225 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008064/7.031, allocations: 112 kB / 2.225 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005263/7.037, allocations: 1.627 MB / 2.227 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005314/7.042, allocations: 1.857 MB / 2.229 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.753e-05/7.042, allocations: 0 / 2.229 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002771/7.043, allocations: 7.984 kB / 2.229 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/7.043, allocations: 40 kB / 2.229 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02617/7.069, allocations: 10.15 MB / 2.238 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006463/7.075, allocations: 1.616 MB / 2.24 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003409/7.079, allocations: 0.7339 MB / 2.241 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01347/7.092, allocations: 3.986 MB / 2.245 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/7.092, allocations: 43.34 kB / 2.245 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=84): time 3.427e-06/7.092, allocations: 0 / 2.245 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of matching and sorting (n=84): time 0.012/7.104, allocations: 2.269 MB / 2.247 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/7.105, allocations: 60.19 kB / 2.247 GB, free: 7.91 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/7.116, allocations: 3.515 MB / 2.25 GB, free: 4.418 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005219/7.117, allocations: 33.64 kB / 2.25 GB, free: 4.379 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002207/7.119, allocations: 0.8809 MB / 2.251 GB, free: 3.48 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009267/7.12, allocations: 291.7 kB / 2.252 GB, free: 3.191 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/7.12, allocations: 0 / 2.252 GB, free: 3.191 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002464/7.12, allocations: 365.9 kB / 2.252 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/7.123, allocations: 0.7732 MB / 2.253 GB, free: 2.055 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00314/7.126, allocations: 1.541 MB / 2.254 GB, free: 152 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005855/7.132, allocations: 1.117 MB / 2.255 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.314e-05/7.132, allocations: 8 kB / 2.255 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01242/7.144, allocations: 2.884 MB / 2.258 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.004315/7.149, allocations: 9.333 MB / 2.267 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.958e-05/7.149, allocations: 20 kB / 2.267 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002264/7.151, allocations: 454.3 kB / 2.268 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003136/7.154, allocations: 375.4 kB / 2.268 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4453/7.599, allocations: 2.434 MB / 2.27 GB, free: 202.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004679/7.604, allocations: 256.4 kB / 2.271 GB, free: 202.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006033/7.605, allocations: 160.2 kB / 2.271 GB, free: 202.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/7.605, allocations: 2.938 kB / 2.271 GB, free: 202.6 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01402/7.619, allocations: 2.225 MB / 2.273 GB, free: 202.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001141/7.619, allocations: 20.09 kB / 2.273 GB, free: 202.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003831/7.623, allocations: 0.5086 MB / 2.274 GB, free: 202.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003935/7.627, allocations: 350.2 kB / 2.274 GB, free: 202.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/7.639, allocations: 5.246 MB / 2.279 GB, free: 199.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004506/7.644, allocations: 205.2 kB / 2.279 GB, free: 199.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006188/7.644, allocations: 134.1 kB / 2.279 GB, free: 199.9 MB / 0.9011 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump1.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: 95 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 161 * Array equations: 3 * 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 {2 9,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0007436/7.645, allocations: 170.3 kB / 2.279 GB, free: 199.8 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001101/7.646, allocations: 309.3 kB / 2.28 GB, free: 199.8 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/7.659, allocations: 2.271 MB / 2.282 GB, free: 199.7 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.677e-05/7.659, allocations: 10.91 kB / 2.282 GB, free: 199.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/7.659, allocations: 2.188 kB / 2.282 GB, free: 199.7 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-05/7.659, allocations: 9.703 kB / 2.282 GB, free: 199.7 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02299/7.682, allocations: 4.408 MB / 2.286 GB, free: 199.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/7.682, allocations: 0 / 2.286 GB, free: 199.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00266/7.685, allocations: 189 kB / 2.286 GB, free: 199.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/7.687, allocations: 312.9 kB / 2.287 GB, free: 199.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003888/7.687, allocations: 23.45 kB / 2.287 GB, free: 199.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003661/7.691, allocations: 2.124 MB / 2.289 GB, free: 197.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.772e-05/7.691, allocations: 3.938 kB / 2.289 GB, free: 197.7 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01184/7.703, allocations: 2.865 MB / 2.292 GB, free: 197.2 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01903/7.722, allocations: 4.139 MB / 2.296 GB, free: 196.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004572/7.727, allocations: 0.712 MB / 2.296 GB, free: 196 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002376/7.729, allocations: 2.062 kB / 2.296 GB, free: 196 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005463/7.735, allocations: 134.8 kB / 2.297 GB, free: 196 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000431/7.735, allocations: 64.2 kB / 2.297 GB, free: 196 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002558/7.735, allocations: 63.2 kB / 2.297 GB, free: 196 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.007621/7.743, allocations: 2.628 MB / 2.299 GB, free: 195.9 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01424/7.757, allocations: 2.005 MB / 2.301 GB, free: 195.8 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (ddp_dm_flow.x,ddp_dNrpm.x,dm_flow_dNrpm.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {2 9,1 4,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.006216/7.764, allocations: 1.685 MB / 2.303 GB, free: 195.5 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01138/7.775, allocations: 3.006 MB / 2.306 GB, free: 195.3 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/7.775, allocations: 0 / 2.306 GB, free: 195.3 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001996/7.777, allocations: 0.6509 MB / 2.306 GB, free: 195.3 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01118/7.788, allocations: 1.436 MB / 2.308 GB, free: 195.3 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/7.804, allocations: 4.386 MB / 2.312 GB, free: 194.2 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005465/7.809, allocations: 2.492 MB / 2.315 GB, free: 193.5 MB / 0.9011 GB Notification: Performance of SimCode: time 1.533e-06/7.809, allocations: 0 / 2.315 GB, free: 193.5 MB / 0.9011 GB