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.01147/0.01147, allocations: 106.9 kB / 15.06 MB, free: 5.555 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.001267/0.001267, allocations: 182.2 kB / 15.95 MB, free: 5.52 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 1.967/1.967, allocations: 194.5 MB / 211.3 MB, free: 11.07 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.444/2.444, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006527/0.0006529, allocations: 12 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7517/0.7524, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002192/0.7547, allocations: 1.231 MB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001464/0.7549, allocations: 31.53 kB / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.718e-05/0.755, allocations: 1.062 kB / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.7551, allocations: 8.094 kB / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.218e-05/0.7552, allocations: 6 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.7553, allocations: 15.72 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.57e-05/0.7554, allocations: 28.61 kB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.7556, allocations: 31.06 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.803e-05/0.7556, allocations: 21.98 kB / 0.6848 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.446e-05/0.7557, allocations: 20.39 kB / 0.6848 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.7557, allocations: 2.719 kB / 0.6848 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.7558, allocations: 1.344 kB / 0.6848 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.159e-05/0.7558, allocations: 11.84 kB / 0.6848 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.7559, allocations: 36.36 kB / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 9.848e-05/0.756, allocations: 37.59 kB / 0.6849 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.756, allocations: 1.188 kB / 0.6849 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.706e-06/0.756, allocations: 4 kB / 0.6849 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.756, allocations: 0 / 0.6849 GB, free: 15.76 MB / 0.5261 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.0003873/0.7564, allocations: 355.6 kB / 0.6852 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.7565, allocations: 9.469 kB / 0.6852 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.7565, allocations: 38.19 kB / 0.6853 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.7565, allocations: 11.89 kB / 0.6853 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.7567, allocations: 187 kB / 0.6854 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.7568, allocations: 6.594 kB / 0.6855 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.7568, allocations: 4.531 kB / 0.6855 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.757, allocations: 108.8 kB / 0.6856 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.757, allocations: 1.219 kB / 0.6856 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.7571, allocations: 1.5 kB / 0.6856 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.7571, allocations: 1.969 kB / 0.6856 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.7572, allocations: 44.31 kB / 0.6856 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006678/0.7579, allocations: 0.6387 MB / 0.6862 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.355e-05/0.758, allocations: 169.1 kB / 0.6864 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.758, allocations: 76.89 kB / 0.6865 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.7581, allocations: 115.8 kB / 0.6866 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.7581, allocations: 0 / 0.6866 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 8.498e-05/0.7582, allocations: 38.23 kB / 0.6866 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.7582, allocations: 126.7 kB / 0.6867 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.7584, allocations: 165.4 kB / 0.6869 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.7585, allocations: 26.5 kB / 0.6869 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.7585, allocations: 110.8 kB / 0.687 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-06/0.7586, allocations: 5.031 kB / 0.687 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.7586, allocations: 0 / 0.687 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.039e-05/0.7586, allocations: 319.8 kB / 0.6873 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.7587, allocations: 3.359 kB / 0.6873 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.298e-05/0.7587, allocations: 27.44 kB / 0.6874 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.922e-05/0.7588, allocations: 12.75 kB / 0.6874 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7588, allocations: 7.938 kB / 0.6874 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001448/0.7589, allocations: 55.72 kB / 0.6874 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.759, allocations: 6.203 kB / 0.6874 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.759, allocations: 1.406 kB / 0.6874 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.759, allocations: 5.156 kB / 0.6874 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.7591, allocations: 5.688 kB / 0.6875 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.7591, allocations: 0 / 0.6875 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.221e-05/0.7592, allocations: 3.234 kB / 0.6875 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.7592, allocations: 2.844 kB / 0.6875 GB, free: 13.18 MB / 0.5261 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 9e-05/0.7593, allocations: 198.8 kB / 0.6876 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.762e-05/0.7594, allocations: 114.7 kB / 0.6878 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.719e-05/0.7594, allocations: 110.5 kB / 0.6879 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-05/0.7595, allocations: 184.9 kB / 0.688 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.549e-05/0.7595, allocations: 178.1 kB / 0.6882 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.611e-05/0.7596, allocations: 182.5 kB / 0.6884 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.7598, allocations: 426.2 kB / 0.6888 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-05/0.7598, allocations: 105.6 kB / 0.6889 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/0.7599, allocations: 107.6 kB / 0.689 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.584e-05/0.7599, allocations: 178.6 kB / 0.6892 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.7599, allocations: 185.5 kB / 0.6893 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.623e-05/0.76, allocations: 182.8 kB / 0.6895 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.258e-05/0.76, allocations: 176.9 kB / 0.6897 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.835e-05/0.7601, allocations: 312.5 kB / 0.69 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.62e-05/0.7602, allocations: 195.1 kB / 0.6902 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.494e-05/0.7603, allocations: 190 kB / 0.6903 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.699e-05/0.7604, allocations: 102.9 kB / 0.6904 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.7604, allocations: 185 kB / 0.6906 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.7605, allocations: 102.7 kB / 0.6907 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001425/0.7606, allocations: 128.7 kB / 0.6908 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7606, allocations: 0 / 0.6908 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003109/0.761, allocations: 6.844 kB / 0.6908 GB, free: 9.586 MB / 0.5261 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.0003201/0.7613, allocations: 0.8206 MB / 0.6916 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.588e-05/0.7614, allocations: 11.22 kB / 0.6917 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.7614, allocations: 192 / 0.6917 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-06/0.7614, allocations: 4.656 kB / 0.6917 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.7617, allocations: 0.529 MB / 0.6922 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.7629, allocations: 0.9277 MB / 0.6931 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.7631, allocations: 0.7005 MB / 0.6938 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.225e-05/0.7632, allocations: 6.25 kB / 0.6938 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/0.7632, allocations: 19.8 kB / 0.6938 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of SimCode: time 8.22e-07/0.7632, allocations: 0 / 0.6938 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.7879, allocations: 1.454 MB / 0.6952 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002906/0.7883, allocations: 198.8 kB / 0.6954 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/3.149, allocations: 0 / 0.6954 GB, free: 6.246 MB / 0.5261 GB