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.EN12975HeatLoss.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.EN12975HeatLoss,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.809/3.809, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5368/4.346, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/4.606, allocations: 98.72 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.931/5.538, allocations: 346.8 MB / 0.9669 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004444/5.538, allocations: 88.09 kB / 0.967 GB, free: 8.348 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.04175/5.58, allocations: 9.447 MB / 0.9762 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/5.58, allocations: 8 kB / 0.9762 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.307e-05/5.58, allocations: 19.72 kB / 0.9763 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006945/5.581, allocations: 240.9 kB / 0.9765 GB, free: 420 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/5.581, allocations: 0 / 0.9765 GB, free: 420 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/5.581, allocations: 7.984 kB / 0.9765 GB, free: 412 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002525/5.581, allocations: 74.19 kB / 0.9766 GB, free: 360 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/5.581, allocations: 108.1 kB / 0.9767 GB, free: 268 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/5.581, allocations: 7.938 kB / 0.9767 GB, free: 260 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/5.581, allocations: 4 kB / 0.9767 GB, free: 256 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.325e-05/5.581, allocations: 15.98 kB / 0.9767 GB, free: 240 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/5.583, allocations: 441.7 kB / 0.9771 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/5.583, allocations: 123.3 kB / 0.9772 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/5.583, allocations: 82.33 kB / 0.9773 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/5.583, allocations: 4 kB / 0.9773 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/5.583, allocations: 38.5 kB / 0.9774 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 2.224e-06/5.583, allocations: 0 / 0.9774 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0009522/5.584, allocations: 214.5 kB / 0.9776 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/5.584, allocations: 51.41 kB / 0.9776 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/5.585, allocations: 178.2 kB / 0.9778 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/5.585, allocations: 25.7 kB / 0.9778 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/5.585, allocations: 95.12 kB / 0.9779 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/5.585, allocations: 47.05 kB / 0.9779 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/5.585, allocations: 0 / 0.9779 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001347/5.585, allocations: 333.3 kB / 0.9783 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/5.585, allocations: 47.17 kB / 0.9783 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/5.585, allocations: 55.16 kB / 0.9784 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/5.586, allocations: 94.52 kB / 0.9784 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/5.586, allocations: 0 / 0.9784 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008281/5.587, allocations: 210.7 kB / 0.9786 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/5.587, allocations: 8 kB / 0.9787 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/5.587, allocations: 4 kB / 0.9787 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/5.587, allocations: 0 / 0.9787 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005174/5.587, allocations: 39.95 kB / 0.9787 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/5.587, allocations: 0 / 0.9787 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/5.588, allocations: 27.83 kB / 0.9787 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/5.588, allocations: 4 kB / 0.9787 GB, free: 14.33 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 (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 prepare postOptimizeDAE: time 0.0001065/5.588, allocations: 109.9 kB / 0.9788 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/5.588, allocations: 27.7 kB / 0.9789 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.004e-05/5.588, allocations: 20.72 kB / 0.9789 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/5.588, allocations: 0 / 0.9789 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/5.588, allocations: 4 kB / 0.9789 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/5.588, allocations: 7.984 kB / 0.9789 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/5.589, allocations: 231.6 kB / 0.9791 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/5.589, allocations: 0 / 0.9791 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004607/5.589, allocations: 39.95 kB / 0.9791 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/5.589, allocations: 0 / 0.9791 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/5.589, allocations: 4 kB / 0.9792 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/5.589, allocations: 4 kB / 0.9792 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/5.589, allocations: 0 / 0.9792 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009079/5.59, allocations: 303.8 kB / 0.9794 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001005/5.591, allocations: 0.6792 MB / 0.9801 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/5.591, allocations: 119.6 kB / 0.9802 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.953e-05/5.591, allocations: 7.844 kB / 0.9802 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004082/5.592, allocations: 17.83 kB / 0.9802 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/5.592, allocations: 11.92 kB / 0.9803 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/5.592, allocations: 4 kB / 0.9803 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001949/5.592, allocations: 150.3 kB / 0.9804 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001318/5.593, allocations: 35.81 kB / 0.9804 GB, free: 12.64 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.0003365/5.594, allocations: 171 kB / 0.9806 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004223/5.594, allocations: 125.1 kB / 0.9807 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/5.594, allocations: 4 kB / 0.9807 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/5.594, allocations: 69.41 kB / 0.9808 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/5.595, allocations: 27.45 kB / 0.9808 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009405/5.596, allocations: 236.8 kB / 0.981 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004915/5.596, allocations: 0.7581 MB / 0.9818 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of SimCode: time 9.12e-07/5.596, allocations: 4 kB / 0.9818 GB, free: 11.29 MB / 0.7292 GB