Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.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.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_SmoothBlocks",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.295/2.295, allocations: 248.6 MB / 255.9 MB, free: 7.094 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.002727/0.002727, allocations: 192.2 kB / 315.1 MB, free: 4.195 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.85/1.85, allocations: 205.1 MB / 0.5658 GB, free: 232 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.00126/0.00126, allocations: 95.3 kB / 0.67 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4465/0.4478, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.6261, allocations: 106.3 MB / 0.8835 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5882/1.214, allocations: 133.6 MB / 1.014 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/1.215, allocations: 70.16 kB / 1.014 GB, free: 6.5 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.02647/1.241, allocations: 5.075 MB / 1.019 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.241, allocations: 8 kB / 1.019 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/1.242, allocations: 139.6 kB / 1.019 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/1.243, allocations: 189.1 kB / 1.019 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/1.243, allocations: 59.41 kB / 1.019 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/1.243, allocations: 4 kB / 1.019 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000285/1.243, allocations: 79.11 kB / 1.019 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/1.243, allocations: 107.4 kB / 1.019 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/1.244, allocations: 0 / 1.019 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/1.244, allocations: 3.906 kB / 1.02 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/1.244, allocations: 4 kB / 1.02 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/1.245, allocations: 489.2 kB / 1.02 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/1.246, allocations: 82.95 kB / 1.02 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/1.246, allocations: 43.09 kB / 1.02 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/1.246, allocations: 3.984 kB / 1.02 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/1.246, allocations: 34.56 kB / 1.02 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 4.979e-06/1.246, allocations: 4 kB / 1.02 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0004/1.246, allocations: 109.1 kB / 1.02 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/1.246, allocations: 55.34 kB / 1.02 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/1.247, allocations: 116 kB / 1.02 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/1.247, allocations: 29.64 kB / 1.02 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.881e-05/1.247, allocations: 107.3 kB / 1.021 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/1.247, allocations: 15.73 kB / 1.021 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/1.247, allocations: 4 kB / 1.021 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.247, allocations: 322.1 kB / 1.021 GB, free: 268 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/1.247, allocations: 33.3 kB / 1.021 GB, free: 248 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/1.247, allocations: 49.7 kB / 1.021 GB, free: 204 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/1.247, allocations: 33.73 kB / 1.021 GB, free: 184 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.247, allocations: 0 / 1.021 GB, free: 184 kB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003227/1.248, allocations: 113.5 kB / 1.021 GB, free: 88 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.248, allocations: 8.062 kB / 1.021 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/1.248, allocations: 0 / 1.021 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/1.248, allocations: 0 / 1.021 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/1.248, allocations: 55.14 kB / 1.021 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/1.248, allocations: 0 / 1.021 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/1.249, allocations: 43.91 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/1.249, allocations: 0 / 1.021 GB, free: 15.98 MB / 0.6511 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 (8): * Single equations (assignments): 8 * 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.0001134/1.249, allocations: 111.8 kB / 1.021 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/1.249, allocations: 7.906 kB / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004268/1.249, allocations: 121.5 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.249, allocations: 0 / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.249, allocations: 0 / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/1.249, allocations: 3.906 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/1.25, allocations: 218.2 kB / 1.022 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.25, allocations: 0 / 1.022 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/1.25, allocations: 43.95 kB / 1.022 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/1.25, allocations: 0 / 1.022 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/1.25, allocations: 11.69 kB / 1.022 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/1.25, allocations: 4.328 kB / 1.022 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/1.25, allocations: 7.906 kB / 1.022 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003814/1.251, allocations: 202.3 kB / 1.022 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005041/1.251, allocations: 0.569 MB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/1.251, allocations: 88.95 kB / 1.023 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/1.251, allocations: 0 / 1.023 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007059/1.252, allocations: 51.95 kB / 1.023 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/1.252, allocations: 7.734 kB / 1.023 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/1.252, allocations: 11.92 kB / 1.023 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001084/1.252, allocations: 107 kB / 1.023 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001185/1.254, allocations: 23.91 kB / 1.023 GB, free: 14.43 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 (6): * Single equations (assignments): 6 * 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.0002158/1.254, allocations: 91.25 kB / 1.023 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003135/1.254, allocations: 79.11 kB / 1.023 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.254, allocations: 4.062 kB / 1.023 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/1.254, allocations: 42.12 kB / 1.023 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/1.255, allocations: 11.36 kB / 1.023 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005994/1.255, allocations: 137 kB / 1.023 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004748/1.256, allocations: 0.723 MB / 1.024 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of SimCode: time 1.082e-06/1.256, allocations: 8 kB / 1.024 GB, free: 13.35 MB / 0.6511 GB