Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.447/2.447, allocations: 248.6 MB / 255.9 MB, free: 7.141 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.00267/0.002669, allocations: 184.8 kB / 315.1 MB, free: 4.305 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.038/2.038, allocations: 205.1 MB / 0.5658 GB, free: 412 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.001346/0.001346, allocations: 91.31 kB / 0.67 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5401/0.5415, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.7875, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7431/1.531, allocations: 132.8 MB / 1.013 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/1.531, allocations: 79.38 kB / 1.013 GB, free: 7.418 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.005914/1.537, allocations: 1.124 MB / 1.014 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/1.537, allocations: 12 kB / 1.014 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/1.537, allocations: 0 / 1.014 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/1.537, allocations: 174.9 kB / 1.015 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/1.537, allocations: 0 / 1.015 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/1.537, allocations: 4 kB / 1.015 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001537/1.538, allocations: 22.98 kB / 1.015 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/1.538, allocations: 52.5 kB / 1.015 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/1.538, allocations: 0 / 1.015 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/1.538, allocations: 0 / 1.015 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/1.538, allocations: 4 kB / 1.015 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007245/1.539, allocations: 255 kB / 1.015 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004624/1.539, allocations: 55.38 kB / 1.015 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/1.539, allocations: 28.11 kB / 1.015 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/1.539, allocations: 0 / 1.015 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/1.539, allocations: 30.56 kB / 1.015 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 3.196e-06/1.539, allocations: 0 / 1.015 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0003611/1.54, allocations: 54.67 kB / 1.015 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/1.54, allocations: 55.41 kB / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/1.54, allocations: 103.2 kB / 1.015 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/1.54, allocations: 26.83 kB / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/1.54, allocations: 84.14 kB / 1.015 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/1.54, allocations: 19.06 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/1.54, allocations: 3.938 kB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002063/1.541, allocations: 314.8 kB / 1.016 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/1.541, allocations: 7.75 kB / 1.016 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.544e-05/1.541, allocations: 7.312 kB / 1.016 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.305e-05/1.541, allocations: 11.25 kB / 1.016 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/1.541, allocations: 3.906 kB / 1.016 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002669/1.541, allocations: 53 kB / 1.016 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/1.541, allocations: 8.938 kB / 1.016 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.541, allocations: 0 / 1.016 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/1.541, allocations: 7.922 kB / 1.016 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/1.541, allocations: 8 kB / 1.016 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/1.541, allocations: 0 / 1.016 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/1.542, allocations: 3.906 kB / 1.016 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/1.542, allocations: 4 kB / 1.016 GB, free: 4.934 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 (5): * Single equations (assignments): 5 * 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.0001539/1.542, allocations: 107.2 kB / 1.016 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.289e-05/1.542, allocations: 192 / 1.016 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004263/1.542, allocations: 91.36 kB / 1.016 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/1.542, allocations: 4 kB / 1.016 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.542, allocations: 0 / 1.016 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/1.542, allocations: 0.6875 kB / 1.016 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/1.543, allocations: 149 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.543, allocations: 3.984 kB / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/1.543, allocations: 15.91 kB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/1.543, allocations: 0 / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/1.543, allocations: 0.625 kB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/1.543, allocations: 8 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.077e-05/1.543, allocations: 0 / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003516/1.544, allocations: 164.9 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005115/1.544, allocations: 0.5398 MB / 1.017 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/1.544, allocations: 77.11 kB / 1.017 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/1.544, allocations: 12 kB / 1.017 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/1.544, allocations: 0 / 1.017 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/1.544, allocations: 7.891 kB / 1.017 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/1.545, allocations: 4 kB / 1.017 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001344/1.545, allocations: 79.03 kB / 1.017 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002245/1.547, allocations: 11.94 kB / 1.017 GB, free: 3.629 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 (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 Backend phase and start with SimCode phase: time 0.0002423/1.547, allocations: 103.2 kB / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002118/1.547, allocations: 34.73 kB / 1.017 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.547, allocations: 4 kB / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.739e-05/1.548, allocations: 22.81 kB / 1.017 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/1.548, allocations: 4 kB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/1.548, allocations: 86.31 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005688/1.549, allocations: 0.6958 MB / 1.018 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of SimCode: time 1.443e-06/1.549, allocations: 0 / 1.018 GB, free: 2.641 MB / 0.6355 GB