Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_6_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01582/0.01582, allocations: 106.8 kB / 15.05 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001707/0.001707, allocations: 183.5 kB / 15.95 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.129/2.129, allocations: 194.5 MB / 211.2 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.414/2.414, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005442/0.000544, allocations: 16 kB / 0.587 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6995/0.7001, allocations: 98.72 MB / 0.6834 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2382/0.9383, allocations: 124.9 MB / 0.8054 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/0.9387, allocations: 75.95 kB / 0.8054 GB, free: 1.195 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003353/0.9421, allocations: 0.9051 MB / 0.8063 GB, free: 292 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.235e-06/0.9422, allocations: 0 / 0.8063 GB, free: 292 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.9422, allocations: 0 / 0.8063 GB, free: 292 kB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004438/0.9426, allocations: 367.2 kB / 0.8067 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.9427, allocations: 8.031 kB / 0.8067 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.37e-05/0.9428, allocations: 34.56 kB / 0.8067 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.9428, allocations: 15.84 kB / 0.8067 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.9431, allocations: 186.9 kB / 0.8069 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.9431, allocations: 4 kB / 0.8069 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.9431, allocations: 8 kB / 0.8069 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.9433, allocations: 100.2 kB / 0.807 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.9434, allocations: 0 / 0.807 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.9434, allocations: 0 / 0.807 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.9434, allocations: 4 kB / 0.807 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.9435, allocations: 43.91 kB / 0.8071 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007568/0.9443, allocations: 0.6439 MB / 0.8077 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.835e-05/0.9444, allocations: 177 kB / 0.8079 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.9445, allocations: 75.28 kB / 0.8079 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.88e-05/0.9445, allocations: 113.8 kB / 0.808 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.9446, allocations: 0 / 0.808 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.486e-05/0.9447, allocations: 36.09 kB / 0.8081 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.9447, allocations: 130.7 kB / 0.8082 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.945, allocations: 153.6 kB / 0.8083 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.945, allocations: 29.7 kB / 0.8084 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.025e-05/0.9451, allocations: 103.9 kB / 0.8085 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-06/0.9451, allocations: 7.938 kB / 0.8085 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/0.9451, allocations: 4 kB / 0.8085 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.9453, allocations: 310.8 kB / 0.8088 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.457e-05/0.9453, allocations: 8 kB / 0.8088 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.575e-05/0.9453, allocations: 26.5 kB / 0.8088 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.623e-05/0.9454, allocations: 8 kB / 0.8088 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.9454, allocations: 3.953 kB / 0.8088 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001484/0.9456, allocations: 53.64 kB / 0.8089 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.9456, allocations: 5.25 kB / 0.8089 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.9456, allocations: 7.984 kB / 0.8089 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.9456, allocations: 0 / 0.8089 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.655e-05/0.9457, allocations: 4 kB / 0.8089 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.9457, allocations: 0 / 0.8089 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.382e-05/0.9458, allocations: 7.906 kB / 0.8089 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.9458, allocations: 0 / 0.8089 GB, free: 13.39 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.000132/0.946, allocations: 201.2 kB / 0.8091 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.9461, allocations: 120.8 kB / 0.8092 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.086e-05/0.9462, allocations: 116.2 kB / 0.8093 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.19e-05/0.9462, allocations: 180.2 kB / 0.8095 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.573e-05/0.9463, allocations: 180.2 kB / 0.8097 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.13e-05/0.9464, allocations: 176.3 kB / 0.8098 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.9467, allocations: 433.1 kB / 0.8102 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.911e-05/0.9468, allocations: 105 kB / 0.8103 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.058e-05/0.9469, allocations: 108.9 kB / 0.8104 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.687e-05/0.9469, allocations: 176.7 kB / 0.8106 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.9471, allocations: 180.3 kB / 0.8108 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.996e-05/0.9472, allocations: 188.2 kB / 0.811 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.239e-05/0.9472, allocations: 176.3 kB / 0.8111 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.9474, allocations: 315.7 kB / 0.8114 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.9475, allocations: 186 kB / 0.8116 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.426e-05/0.9476, allocations: 192.1 kB / 0.8118 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.9478, allocations: 105 kB / 0.8119 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.199e-05/0.9479, allocations: 184.2 kB / 0.8121 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.9479, allocations: 108.9 kB / 0.8122 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001678/0.9481, allocations: 129.1 kB / 0.8123 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.725e-06/0.9481, allocations: 0 / 0.8123 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003037/0.9484, allocations: 11.94 kB / 0.8123 GB, free: 9.68 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 () * Number of clocked 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.0004756/0.9489, allocations: 0.8164 MB / 0.8131 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.906e-05/0.949, allocations: 8 kB / 0.8131 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.949, allocations: 0 / 0.8131 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.129e-06/0.9491, allocations: 0 / 0.8131 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.9494, allocations: 0.5349 MB / 0.8136 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.9507, allocations: 0.9222 MB / 0.8145 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.9511, allocations: 0.6965 MB / 0.8152 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.986e-05/0.9511, allocations: 8 kB / 0.8152 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.9512, allocations: 15.44 kB / 0.8152 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of SimCode: time 8.32e-07/0.9512, allocations: 0 / 0.8152 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.9711, allocations: 1.445 MB / 0.8166 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002772/0.9714, allocations: 202.9 kB / 0.8168 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/3.482, allocations: 3.938 kB / 0.8168 GB, free: 4.969 MB / 0.6355 GB