Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",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.432/2.432, allocations: 248.6 MB / 255.9 MB, free: 7.145 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.001645/0.001644, allocations: 187.2 kB / 315.1 MB, free: 4.281 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.02/2.02, allocations: 205.1 MB / 0.5658 GB, free: 308 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.001303/0.001303, allocations: 90.7 kB / 0.67 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5345/0.5358, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.7624, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.792, allocations: 357.8 MB / 1.233 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/1.792, allocations: 80.58 kB / 1.233 GB, free: 14.11 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.6508/2.443, allocations: 70.33 MB / 1.302 GB, free: 236.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/2.443, allocations: 15.81 kB / 1.302 GB, free: 236.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.5e-05/2.443, allocations: 19.59 kB / 1.302 GB, free: 236.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003864/2.444, allocations: 247.8 kB / 1.302 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/2.444, allocations: 3.938 kB / 1.302 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/2.444, allocations: 7.812 kB / 1.302 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002167/2.444, allocations: 62.2 kB / 1.302 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/2.444, allocations: 110.5 kB / 1.302 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/2.444, allocations: 3.906 kB / 1.302 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/2.444, allocations: 0 / 1.302 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/2.444, allocations: 8.438 kB / 1.302 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/2.445, allocations: 495.3 kB / 1.303 GB, free: 235.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/2.446, allocations: 75.23 kB / 1.303 GB, free: 235.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.13e-05/2.446, allocations: 40.66 kB / 1.303 GB, free: 235.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003051/2.446, allocations: 338.9 kB / 1.303 GB, free: 235 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/2.446, allocations: 35 kB / 1.303 GB, free: 235 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.354e-06/2.446, allocations: 4 kB / 1.303 GB, free: 235 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0004929/2.447, allocations: 99.02 kB / 1.303 GB, free: 234.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/2.447, allocations: 77.11 kB / 1.303 GB, free: 234.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/2.447, allocations: 140.8 kB / 1.303 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/2.447, allocations: 25.7 kB / 1.303 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/2.447, allocations: 112 kB / 1.303 GB, free: 234.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/2.447, allocations: 20.36 kB / 1.303 GB, free: 234.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/2.447, allocations: 1.312 kB / 1.303 GB, free: 234.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.509e-05/2.447, allocations: 325.5 kB / 1.304 GB, free: 234.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.93e-05/2.447, allocations: 19 kB / 1.304 GB, free: 234.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/2.447, allocations: 62.55 kB / 1.304 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/2.447, allocations: 33.39 kB / 1.304 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/2.447, allocations: 0 / 1.304 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003597/2.448, allocations: 112.4 kB / 1.304 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/2.448, allocations: 8.219 kB / 1.304 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/2.448, allocations: 0 / 1.304 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/2.448, allocations: 0 / 1.304 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/2.448, allocations: 23.75 kB / 1.304 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/2.448, allocations: 0.6562 kB / 1.304 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/2.448, allocations: 28.27 kB / 1.304 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/2.449, allocations: 5.016 kB / 1.304 GB, free: 234.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 8.054e-05/2.449, allocations: 104.9 kB / 1.304 GB, free: 234.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-05/2.449, allocations: 12.38 kB / 1.304 GB, free: 234.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005139/2.449, allocations: 137.7 kB / 1.304 GB, free: 234 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/2.449, allocations: 4.609 kB / 1.304 GB, free: 234 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/2.449, allocations: 4.062 kB / 1.304 GB, free: 234 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/2.449, allocations: 1.5 kB / 1.304 GB, free: 234 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008268/2.45, allocations: 435.3 kB / 1.305 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/2.45, allocations: 0.5625 kB / 1.305 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/2.45, allocations: 23.77 kB / 1.305 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/2.45, allocations: 3.938 kB / 1.305 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/2.45, allocations: 0.6094 kB / 1.305 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/2.45, allocations: 4.422 kB / 1.305 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/2.45, allocations: 0 / 1.305 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000441/2.451, allocations: 359.3 kB / 1.305 GB, free: 233.4 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004688/2.451, allocations: 0.7387 MB / 1.306 GB, free: 232.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.531e-05/2.451, allocations: 101.2 kB / 1.306 GB, free: 232.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/2.452, allocations: 4.422 kB / 1.306 GB, free: 232.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/2.452, allocations: 14.92 kB / 1.306 GB, free: 232.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/2.452, allocations: 6.109 kB / 1.306 GB, free: 232.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/2.452, allocations: 4.594 kB / 1.306 GB, free: 232.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001101/2.452, allocations: 115.8 kB / 1.306 GB, free: 232.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001471/2.453, allocations: 79.77 kB / 1.306 GB, free: 232.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0006485/2.454, allocations: 236.1 kB / 1.306 GB, free: 232.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000273/2.454, allocations: 64.36 kB / 1.306 GB, free: 232.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/2.454, allocations: 0 / 1.306 GB, free: 232.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/2.455, allocations: 51.11 kB / 1.306 GB, free: 232.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007066/2.455, allocations: 47.83 kB / 1.306 GB, free: 232.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/2.456, allocations: 212.7 kB / 1.307 GB, free: 232.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/2.456, allocations: 0.7489 MB / 1.307 GB, free: 231.5 MB / 0.8542 GB Notification: Performance of SimCode: time 9.72e-07/2.456, allocations: 0 / 1.307 GB, free: 231.5 MB / 0.8542 GB