Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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_NonzeroStart,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",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.51/2.51, allocations: 248.6 MB / 255.9 MB, free: 7.578 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00163/0.001629, allocations: 178.8 kB / 315.1 MB, free: 8.492 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.244/2.244, allocations: 205.1 MB / 0.5658 GB, free: 4.07 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001845/0.001845, allocations: 86.97 kB / 0.67 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.5632/0.5651, allocations: 112.4 MB / 0.7797 GB, free: 107.3 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.8275, allocations: 106.2 MB / 0.8835 GB, free: 1.016 MB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7006/1.528, allocations: 131.9 MB / 1.012 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/1.529, allocations: 81.44 kB / 1.012 GB, free: 14.3 MB / 0.6387 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.02834/1.557, allocations: 4.841 MB / 1.017 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.518e-05/1.557, allocations: 8 kB / 1.017 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/1.557, allocations: 79.28 kB / 1.017 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/1.557, allocations: 242.3 kB / 1.017 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.446e-05/1.558, allocations: 154.5 kB / 1.018 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/1.558, allocations: 158.5 kB / 1.018 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001239/1.558, allocations: 150.6 kB / 1.018 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.677e-05/1.558, allocations: 101 kB / 1.018 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-05/1.558, allocations: 78.41 kB / 1.018 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/1.558, allocations: 154.6 kB / 1.018 GB, free: 9.41 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.14e-05/1.558, allocations: 154.5 kB / 1.018 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/1.559, allocations: 430.2 kB / 1.019 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/1.559, allocations: 165.1 kB / 1.019 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.777e-05/1.559, allocations: 85.34 kB / 1.019 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.722e-05/1.559, allocations: 83.17 kB / 1.019 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.124e-05/1.559, allocations: 109.8 kB / 1.019 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 3.266e-06/1.559, allocations: 0 / 1.019 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 0.0001555/1.559, allocations: 33.14 kB / 1.019 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/1.559, allocations: 51.41 kB / 1.019 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/1.56, allocations: 100.7 kB / 1.019 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/1.56, allocations: 25.7 kB / 1.019 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/1.56, allocations: 84.12 kB / 1.019 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/1.56, allocations: 0 / 1.019 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/1.56, allocations: 0 / 1.019 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001836/1.56, allocations: 314.8 kB / 1.02 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.786e-05/1.56, allocations: 0 / 1.02 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.626e-05/1.56, allocations: 11.38 kB / 1.02 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.513e-05/1.56, allocations: 11.98 kB / 1.02 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.56, allocations: 4 kB / 1.02 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001671/1.56, allocations: 41.64 kB / 1.02 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/1.56, allocations: 4 kB / 1.02 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/1.56, allocations: 0 / 1.02 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/1.56, allocations: 0 / 1.02 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.602e-06/1.56, allocations: 3.938 kB / 1.02 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/1.56, allocations: 3.938 kB / 1.02 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/1.561, allocations: 8.234 kB / 1.02 GB, free: 7.625 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/1.561, allocations: 0 / 1.02 GB, free: 7.625 MB / 0.6387 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.0001344/1.561, allocations: 184.2 kB / 1.02 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/1.561, allocations: 105 kB / 1.02 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.769e-05/1.561, allocations: 111.6 kB / 1.02 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-05/1.561, allocations: 188.2 kB / 1.02 GB, free: 7.023 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-05/1.561, allocations: 180.3 kB / 1.021 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.862e-05/1.561, allocations: 180.3 kB / 1.021 GB, free: 6.656 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/1.562, allocations: 392.9 kB / 1.021 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.063e-05/1.562, allocations: 101 kB / 1.021 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-05/1.562, allocations: 101 kB / 1.021 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.296e-05/1.562, allocations: 180.2 kB / 1.021 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.617e-05/1.562, allocations: 176.3 kB / 1.022 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.528e-05/1.562, allocations: 189.6 kB / 1.022 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.592e-05/1.562, allocations: 184.1 kB / 1.022 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001716/1.562, allocations: 300.4 kB / 1.022 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003577/1.563, allocations: 0.6783 MB / 1.023 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/1.563, allocations: 178.1 kB / 1.023 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/1.563, allocations: 188.5 kB / 1.023 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/1.563, allocations: 101 kB / 1.023 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.192e-05/1.563, allocations: 180.3 kB / 1.024 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/1.563, allocations: 112.9 kB / 1.024 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of sort global known variables: time 0.0001349/1.563, allocations: 87.16 kB / 1.024 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001201/1.564, allocations: 7.906 kB / 1.024 GB, free: 3.379 MB / 0.6387 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.0003061/1.565, allocations: 178.5 kB / 1.024 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001414/1.565, allocations: 4 kB / 1.024 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.565, allocations: 0 / 1.024 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.212e-06/1.565, allocations: 8.062 kB / 1.024 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/1.565, allocations: 0.5185 MB / 1.024 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002294/1.566, allocations: 131.1 kB / 1.025 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/1.566, allocations: 0.6918 MB / 1.025 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of SimCode: time 2.805e-06/1.566, allocations: 0 / 1.025 GB, free: 1.793 MB / 0.6387 GB