Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.502/2.502, 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.001967/0.001967, allocations: 191.4 kB / 315.1 MB, free: 4.238 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.202/2.202, allocations: 205.1 MB / 0.5658 GB, free: 408 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.00132/0.00132, allocations: 83.39 kB / 0.67 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4807/0.4821, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.6938, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6722/1.366, allocations: 131.9 MB / 1.012 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/1.366, allocations: 82.25 kB / 1.012 GB, free: 7.906 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.01698/1.383, allocations: 3.605 MB / 1.016 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/1.384, allocations: 8 kB / 1.016 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.45e-05/1.384, allocations: 75.28 kB / 1.016 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/1.384, allocations: 242.3 kB / 1.016 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.607e-05/1.384, allocations: 158.5 kB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.489e-05/1.384, allocations: 150.6 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.883e-05/1.384, allocations: 154.5 kB / 1.017 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.882e-05/1.384, allocations: 101 kB / 1.017 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.379e-05/1.384, allocations: 79.28 kB / 1.017 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.04e-05/1.384, allocations: 154.1 kB / 1.017 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.697e-05/1.384, allocations: 154.6 kB / 1.017 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/1.385, allocations: 434.1 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/1.385, allocations: 169.1 kB / 1.018 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/1.385, allocations: 81.34 kB / 1.018 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/1.385, allocations: 87.17 kB / 1.018 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.364e-05/1.385, allocations: 105.8 kB / 1.018 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 2.405e-06/1.385, allocations: 0 / 1.018 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001076/1.385, allocations: 33.69 kB / 1.018 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/1.385, allocations: 51.41 kB / 1.018 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/1.385, allocations: 99.81 kB / 1.018 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/1.385, allocations: 25.7 kB / 1.018 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/1.385, allocations: 84.14 kB / 1.018 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/1.386, allocations: 0 / 1.018 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/1.386, allocations: 0 / 1.018 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001879/1.386, allocations: 310.8 kB / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.474e-05/1.386, allocations: 11.92 kB / 1.019 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.821e-05/1.386, allocations: 11.62 kB / 1.019 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.517e-05/1.386, allocations: 7.906 kB / 1.019 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.386, allocations: 0 / 1.019 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001387/1.386, allocations: 37.81 kB / 1.019 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/1.386, allocations: 12 kB / 1.019 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.386, allocations: 0 / 1.019 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/1.386, allocations: 0 / 1.019 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.508e-06/1.386, allocations: 0 / 1.019 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/1.386, allocations: 3.938 kB / 1.019 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/1.386, allocations: 3.938 kB / 1.019 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/1.386, allocations: 7.984 kB / 1.019 GB, free: 2.133 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * 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.0001156/1.386, allocations: 180.2 kB / 1.019 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/1.386, allocations: 108.9 kB / 1.019 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.552e-05/1.387, allocations: 111.8 kB / 1.019 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-05/1.387, allocations: 180.3 kB / 1.019 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.661e-05/1.387, allocations: 180.2 kB / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.432e-05/1.387, allocations: 180.2 kB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/1.387, allocations: 389 kB / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.814e-05/1.387, allocations: 108.9 kB / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/1.387, allocations: 105 kB / 1.02 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-05/1.387, allocations: 176.3 kB / 1.02 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.712e-05/1.387, allocations: 180.2 kB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.479e-05/1.388, allocations: 177.6 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.59e-05/1.388, allocations: 184.3 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002589/1.388, allocations: 306.2 kB / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003577/1.388, allocations: 0.6822 MB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/1.388, allocations: 182.1 kB / 1.022 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.023e-05/1.389, allocations: 176.5 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/1.389, allocations: 108.9 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/1.389, allocations: 188 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-05/1.389, allocations: 105 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.381e-05/1.389, allocations: 83.28 kB / 1.023 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001123/1.39, allocations: 15.91 kB / 1.023 GB, free: 13.88 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.0003259/1.39, allocations: 183.2 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000163/1.391, allocations: 15.56 kB / 1.023 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.391, allocations: 0 / 1.023 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.955e-06/1.391, allocations: 0 / 1.023 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/1.391, allocations: 0.5186 MB / 1.023 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/1.391, allocations: 134.8 kB / 1.023 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/1.392, allocations: 0.6841 MB / 1.024 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of SimCode: time 3.347e-06/1.392, allocations: 0 / 1.024 GB, free: 12.3 MB / 0.6511 GB