Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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 loadModel(Buildings): time 3.793/3.793, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5487/4.342, allocations: 104.3 MB / 0.5319 GB, free: 12.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/4.577, allocations: 98.73 MB / 0.6283 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8868/5.464, allocations: 347.8 MB / 0.9679 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003524/5.464, allocations: 96.91 kB / 0.968 GB, free: 7.219 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.05245/5.517, allocations: 11.49 MB / 0.9792 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/5.517, allocations: 12 kB / 0.9793 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/5.518, allocations: 151.5 kB / 0.9794 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/5.52, allocations: 352.2 kB / 0.9797 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/5.52, allocations: 4 kB / 0.9797 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.173e-05/5.52, allocations: 7.984 kB / 0.9798 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005511/5.521, allocations: 132.9 kB / 0.9799 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/5.521, allocations: 149.8 kB / 0.98 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/5.521, allocations: 0 / 0.98 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/5.522, allocations: 0 / 0.98 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/5.522, allocations: 0 / 0.98 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/5.524, allocations: 0.5529 MB / 0.9806 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/5.524, allocations: 98.67 kB / 0.9807 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/5.524, allocations: 91.45 kB / 0.9807 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/5.525, allocations: 0.5098 MB / 0.9812 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/5.525, allocations: 38.06 kB / 0.9813 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 6.082e-06/5.525, allocations: 4 kB / 0.9813 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.006777/5.532, allocations: 0.5018 MB / 0.9818 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/5.532, allocations: 51.41 kB / 0.9818 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/5.533, allocations: 215.8 kB / 0.982 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/5.533, allocations: 29.7 kB / 0.9821 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.255e-05/5.533, allocations: 117.2 kB / 0.9822 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.223e-05/5.533, allocations: 42.8 kB / 0.9822 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/5.533, allocations: 0 / 0.9822 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001535/5.533, allocations: 337.5 kB / 0.9825 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/5.533, allocations: 71.61 kB / 0.9826 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/5.534, allocations: 70.73 kB / 0.9827 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01798/5.552, allocations: 0.9144 MB / 0.9836 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/5.552, allocations: 0 / 0.9836 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.01786/5.57, allocations: 1.056 MB / 0.9846 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/5.57, allocations: 4 kB / 0.9846 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/5.57, allocations: 7.984 kB / 0.9846 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/5.57, allocations: 0 / 0.9846 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009502/5.571, allocations: 87.61 kB / 0.9847 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/5.571, allocations: 0 / 0.9847 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000733/5.572, allocations: 67.8 kB / 0.9847 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/5.572, allocations: 7.984 kB / 0.9848 GB, free: 8.539 MB / 0.7292 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 (17): * Single equations (assignments): 17 * 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.0001326/5.572, allocations: 104.9 kB / 0.9849 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-05/5.572, allocations: 27.62 kB / 0.9849 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006836/5.579, allocations: 0.5511 MB / 0.9854 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/5.579, allocations: 0 / 0.9854 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/5.579, allocations: 0 / 0.9854 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/5.579, allocations: 3.938 kB / 0.9854 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005563/5.579, allocations: 273.9 kB / 0.9857 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/5.579, allocations: 0 / 0.9857 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008797/5.58, allocations: 87.86 kB / 0.9858 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/5.58, allocations: 0 / 0.9858 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/5.58, allocations: 3.984 kB / 0.9858 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/5.58, allocations: 8 kB / 0.9858 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/5.58, allocations: 0 / 0.9858 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007129/5.587, allocations: 0.6006 MB / 0.9864 GB, free: 7.031 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006954/5.594, allocations: 0.9874 MB / 0.9873 GB, free: 6.102 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/5.595, allocations: 123.3 kB / 0.9874 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.575e-05/5.595, allocations: 7.984 kB / 0.9875 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007436/5.596, allocations: 55.94 kB / 0.9875 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/5.596, allocations: 15.42 kB / 0.9875 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/5.596, allocations: 7.984 kB / 0.9875 GB, free: 5.891 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002487/5.596, allocations: 175.9 kB / 0.9877 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001458/5.598, allocations: 79.03 kB / 0.9878 GB, free: 5.676 MB / 0.7292 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 (13): * Single equations (assignments): 13 * 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.0004358/5.598, allocations: 182.9 kB / 0.9879 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006398/5.599, allocations: 181.2 kB / 0.9881 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/5.599, allocations: 4 kB / 0.9881 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002891/5.599, allocations: 91.61 kB / 0.9882 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/5.599, allocations: 30.84 kB / 0.9882 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/5.601, allocations: 290.6 kB / 0.9885 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006583/5.601, allocations: 0.7894 MB / 0.9893 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of SimCode: time 1.032e-06/5.601, allocations: 0 / 0.9893 GB, free: 4.219 MB / 0.7292 GB