Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.053/2.053, 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.00247/0.00247, allocations: 191.6 kB / 315.1 MB, free: 4.25 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.935/1.935, allocations: 205.1 MB / 0.5658 GB, free: 296 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.002123/0.002123, allocations: 95.06 kB / 0.67 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5016/0.5038, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.7241, allocations: 106.3 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6808/1.405, allocations: 143.8 MB / 1.024 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/1.405, allocations: 83.02 kB / 1.024 GB, free: 12.42 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.05805/1.463, allocations: 11.31 MB / 1.035 GB, free: 2.961 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/1.463, allocations: 11.98 kB / 1.035 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005032/1.464, allocations: 51.59 kB / 1.035 GB, free: 2.898 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/1.466, allocations: 0.6249 MB / 1.036 GB, free: 2.367 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/1.466, allocations: 0 / 1.036 GB, free: 2.367 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/1.466, allocations: 8 kB / 1.036 GB, free: 2.359 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003988/1.467, allocations: 120.4 kB / 1.036 GB, free: 2.273 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/1.467, allocations: 124.2 kB / 1.036 GB, free: 2.164 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.467, allocations: 0 / 1.036 GB, free: 2.164 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/1.467, allocations: 0 / 1.036 GB, free: 2.164 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/1.467, allocations: 3.906 kB / 1.036 GB, free: 2.16 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/1.468, allocations: 481.5 kB / 1.036 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/1.469, allocations: 139.4 kB / 1.037 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/1.469, allocations: 73.09 kB / 1.037 GB, free: 1.551 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/1.469, allocations: 0 / 1.037 GB, free: 1.551 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/1.469, allocations: 34.56 kB / 1.037 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.923e-06/1.469, allocations: 0 / 1.037 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0007907/1.47, allocations: 183.9 kB / 1.037 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/1.47, allocations: 59.39 kB / 1.037 GB, free: 1.281 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004918/1.47, allocations: 265.5 kB / 1.037 GB, free: 1.062 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/1.47, allocations: 25.7 kB / 1.037 GB, free: 1.031 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.694e-05/1.471, allocations: 125.9 kB / 1.037 GB, free: 0.918 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/1.471, allocations: 31.3 kB / 1.037 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/1.471, allocations: 0 / 1.037 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001735/1.471, allocations: 337.1 kB / 1.038 GB, free: 0.5625 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/1.471, allocations: 68.97 kB / 1.038 GB, free: 0.5156 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/1.472, allocations: 139.2 kB / 1.038 GB, free: 384 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006911/1.472, allocations: 90.42 kB / 1.038 GB, free: 316 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.472, allocations: 0 / 1.038 GB, free: 316 kB / 0.6511 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009012/1.473, allocations: 252.3 kB / 1.038 GB, free: 100 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003897/1.474, allocations: 0.7007 MB / 1.039 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/1.474, allocations: 7.938 kB / 1.039 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/1.474, allocations: 4 kB / 1.039 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/1.474, allocations: 47.95 kB / 1.039 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/1.474, allocations: 7.938 kB / 1.039 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/1.475, allocations: 31.77 kB / 1.039 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.809e-05/1.475, allocations: 14.81 kB / 1.039 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/1.475, allocations: 4 kB / 1.039 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006777/1.475, allocations: 160.6 kB / 1.039 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.475, allocations: 4 kB / 1.039 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/1.476, allocations: 7.906 kB / 1.039 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/1.476, allocations: 48.12 kB / 1.039 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/1.476, allocations: 4 kB / 1.039 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/1.476, allocations: 23.83 kB / 1.039 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/1.476, allocations: 10.69 kB / 1.039 GB, free: 15.02 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001449/1.476, allocations: 113 kB / 1.039 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-05/1.477, allocations: 23.66 kB / 1.039 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006927/1.477, allocations: 166.5 kB / 1.039 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.477, allocations: 0 / 1.039 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.477, allocations: 4 kB / 1.039 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.477, allocations: 3.938 kB / 1.039 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/1.478, allocations: 233.2 kB / 1.04 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.478, allocations: 3.906 kB / 1.04 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/1.478, allocations: 31.92 kB / 1.04 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/1.478, allocations: 4 kB / 1.04 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/1.478, allocations: 3.984 kB / 1.04 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.478, allocations: 0 / 1.04 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.478, allocations: 0 / 1.04 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004657/1.479, allocations: 242.2 kB / 1.04 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009183/1.48, allocations: 0.6119 MB / 1.041 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/1.48, allocations: 112.3 kB / 1.041 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/1.48, allocations: 4 kB / 1.041 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/1.48, allocations: 11.98 kB / 1.041 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/1.48, allocations: 11.92 kB / 1.041 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/1.48, allocations: 4 kB / 1.041 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0004693/1.481, allocations: 214.3 kB / 1.041 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005863/1.487, allocations: 219.8 kB / 1.041 GB, free: 13.15 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001741/1.488, allocations: 393.9 kB / 1.041 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001092/1.489, allocations: 245.3 kB / 1.042 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/1.49, allocations: 4.375 kB / 1.042 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002192/1.49, allocations: 49.36 kB / 1.042 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/1.491, allocations: 85.98 kB / 1.042 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/1.492, allocations: 318 kB / 1.042 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007971/1.493, allocations: 0.8094 MB / 1.043 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of SimCode: time 1.132e-06/1.493, allocations: 0 / 1.043 GB, free: 11.34 MB / 0.6667 GB