Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",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.293/2.293, allocations: 248.6 MB / 255.9 MB, free: 7.137 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.001636/0.001635, allocations: 193.3 kB / 315.1 MB, free: 4.273 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.958/1.958, allocations: 205.1 MB / 0.5658 GB, free: 388 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.001865/0.001865, allocations: 94.69 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5523/0.5542, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.7591, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7039/1.463, allocations: 131.3 MB / 1.012 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/1.463, allocations: 79.44 kB / 1.012 GB, free: 8.859 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.00474/1.468, allocations: 1.186 MB / 1.013 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/1.468, allocations: 12 kB / 1.013 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.899e-05/1.468, allocations: 91.09 kB / 1.013 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/1.469, allocations: 262.1 kB / 1.013 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/1.469, allocations: 150.6 kB / 1.013 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.075e-05/1.469, allocations: 158.6 kB / 1.014 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.5e-05/1.469, allocations: 150.6 kB / 1.014 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.383e-05/1.469, allocations: 112.4 kB / 1.014 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.309e-05/1.469, allocations: 75.28 kB / 1.014 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.597e-05/1.469, allocations: 158.5 kB / 1.014 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.518e-05/1.469, allocations: 150.6 kB / 1.014 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/1.47, allocations: 478.2 kB / 1.015 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/1.47, allocations: 175.7 kB / 1.015 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/1.47, allocations: 81.52 kB / 1.015 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/1.47, allocations: 79.22 kB / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.518e-05/1.47, allocations: 108.5 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 2.434e-06/1.47, allocations: 0 / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001278/1.47, allocations: 45.52 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/1.47, allocations: 51.41 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/1.471, allocations: 201.4 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/1.471, allocations: 28.33 kB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/1.471, allocations: 105.2 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/1.471, allocations: 0 / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/1.471, allocations: 0 / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.471, allocations: 322.6 kB / 1.016 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/1.471, allocations: 46.72 kB / 1.016 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/1.471, allocations: 180.4 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008377/1.472, allocations: 117.9 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/1.472, allocations: 0 / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001335/1.474, allocations: 263.9 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/1.474, allocations: 8 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/1.474, allocations: 7.938 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/1.474, allocations: 4.656 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/1.474, allocations: 54.59 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/1.474, allocations: 4 kB / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/1.474, allocations: 23.69 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/1.474, allocations: 12 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001474/1.474, allocations: 188 kB / 1.017 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.962e-05/1.475, allocations: 112.8 kB / 1.017 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.916e-05/1.475, allocations: 121.3 kB / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.542e-05/1.475, allocations: 184.1 kB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.287e-05/1.475, allocations: 177.1 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.342e-05/1.475, allocations: 180.2 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/1.475, allocations: 420.5 kB / 1.018 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.397e-05/1.475, allocations: 108.9 kB / 1.018 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/1.475, allocations: 104.9 kB / 1.018 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-05/1.476, allocations: 184.3 kB / 1.018 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.761e-05/1.476, allocations: 184.2 kB / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-05/1.476, allocations: 183.5 kB / 1.019 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.647e-05/1.476, allocations: 176.3 kB / 1.019 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002032/1.476, allocations: 324.1 kB / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003358/1.476, allocations: 0.6745 MB / 1.02 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/1.476, allocations: 189.9 kB / 1.02 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/1.477, allocations: 188.2 kB / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/1.477, allocations: 104.9 kB / 1.02 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-05/1.477, allocations: 180.2 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/1.477, allocations: 101 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002094/1.477, allocations: 153.3 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001349/1.479, allocations: 31.94 kB / 1.021 GB, free: 15.61 MB / 0.6511 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 (0): * Single equations (assignments): 0 * 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.0002407/1.479, allocations: 181.8 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003162/1.479, allocations: 86.38 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.479, allocations: 0 / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.531e-06/1.479, allocations: 4 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/1.48, allocations: 0.5276 MB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004974/1.48, allocations: 230.5 kB / 1.022 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004293/1.481, allocations: 0.7279 MB / 1.022 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of SimCode: time 1.022e-06/1.481, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.6511 GB