Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.148/2.148, allocations: 248.6 MB / 255.9 MB, free: 7.258 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.001671/0.001671, allocations: 184.1 kB / 315.1 MB, free: 4.285 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.077/2.077, allocations: 205.1 MB / 0.5658 GB, free: 300 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.001248/0.001248, allocations: 95.25 kB / 0.67 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5262/0.5275, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.7528, allocations: 106.2 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7093/1.462, allocations: 132.1 MB / 1.012 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/1.463, allocations: 80.5 kB / 1.013 GB, free: 7.996 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002928/1.465, allocations: 0.7181 MB / 1.013 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.466, allocations: 8 kB / 1.013 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/1.466, allocations: 0 / 1.013 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/1.466, allocations: 167 kB / 1.013 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/1.466, allocations: 0 / 1.013 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/1.466, allocations: 3.906 kB / 1.013 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.231e-05/1.466, allocations: 15.75 kB / 1.013 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.985e-05/1.466, allocations: 33.69 kB / 1.013 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/1.466, allocations: 0 / 1.013 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/1.466, allocations: 0 / 1.013 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/1.466, allocations: 0 / 1.013 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/1.466, allocations: 220 kB / 1.014 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.342e-05/1.466, allocations: 18.58 kB / 1.014 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/1.466, allocations: 16.42 kB / 1.014 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/1.466, allocations: 4 kB / 1.014 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/1.467, allocations: 38.53 kB / 1.014 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/1.467, allocations: 0 / 1.014 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001593/1.467, allocations: 33.02 kB / 1.014 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/1.467, allocations: 55.41 kB / 1.014 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/1.467, allocations: 89.03 kB / 1.014 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/1.467, allocations: 32.33 kB / 1.014 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/1.467, allocations: 83.52 kB / 1.014 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/1.467, allocations: 7.891 kB / 1.014 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-06/1.467, allocations: 0 / 1.014 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.467, allocations: 314.8 kB / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/1.467, allocations: 7.75 kB / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.08e-05/1.467, allocations: 0 / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.334e-05/1.467, allocations: 4 kB / 1.014 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.467, allocations: 4.062 kB / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.981e-05/1.467, allocations: 37.83 kB / 1.014 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.467, allocations: 4.938 kB / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/1.467, allocations: 0 / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/1.467, allocations: 3.984 kB / 1.014 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.869e-05/1.468, allocations: 7.984 kB / 1.014 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/1.468, allocations: 0 / 1.014 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.846e-05/1.468, allocations: 0 / 1.014 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/1.468, allocations: 3.312 kB / 1.014 GB, free: 6.012 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 (2): * Single equations (assignments): 2 * 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.095e-05/1.468, allocations: 115.3 kB / 1.015 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/1.468, allocations: 0 / 1.015 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/1.468, allocations: 7.266 kB / 1.015 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/1.468, allocations: 3.938 kB / 1.015 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.468, allocations: 0 / 1.015 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.468, allocations: 0 / 1.015 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/1.468, allocations: 141.2 kB / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/1.468, allocations: 3.938 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.16e-05/1.468, allocations: 4 kB / 1.015 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/1.468, allocations: 0 / 1.015 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/1.468, allocations: 4 kB / 1.015 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/1.468, allocations: 0 / 1.015 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.347e-05/1.468, allocations: 10.3 kB / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002497/1.469, allocations: 134.9 kB / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004855/1.469, allocations: 0.5033 MB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.27e-05/1.469, allocations: 77.11 kB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/1.469, allocations: 0 / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/1.47, allocations: 4 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/1.47, allocations: 0 / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/1.47, allocations: 3.875 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.669e-05/1.47, allocations: 79.28 kB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001119/1.471, allocations: 11.89 kB / 1.015 GB, free: 4.844 MB / 0.6355 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 (2): * Single equations (assignments): 2 * 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.0001419/1.471, allocations: 99.25 kB / 1.016 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.297e-05/1.471, allocations: 14.06 kB / 1.016 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.471, allocations: 0 / 1.016 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.555e-05/1.471, allocations: 4 kB / 1.016 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/1.471, allocations: 4 kB / 1.016 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002477/1.472, allocations: 50.86 kB / 1.016 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/1.472, allocations: 0.688 MB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of SimCode: time 7.61e-07/1.472, allocations: 0 / 1.016 GB, free: 3.934 MB / 0.6355 GB