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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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"}) Notification: Performance of loadModel(Buildings): time 4.061/4.061, allocations: 432.6 MB / 445.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.316e-05/5.322e-05, allocations: 6.109 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2434, allocations: 98.72 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.165/1.408, allocations: 348.6 MB / 0.9751 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004138/1.409, allocations: 80.77 kB / 0.9752 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0582/1.467, allocations: 11.14 MB / 0.9861 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.929e-06/1.467, allocations: 0 / 0.9861 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.766e-05/1.467, allocations: 6.625 kB / 0.9861 GB, free: 15.69 MB / 0.7448 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.002805/1.47, allocations: 0.6175 MB / 0.9867 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/1.47, allocations: 8.031 kB / 0.9867 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/1.47, allocations: 41.5 kB / 0.9867 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/1.471, allocations: 127.6 kB / 0.9868 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/1.473, allocations: 338 kB / 0.9872 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/1.473, allocations: 8.859 kB / 0.9872 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.485e-05/1.473, allocations: 15.44 kB / 0.9872 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/1.474, allocations: 157.1 kB / 0.9873 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/1.474, allocations: 0 / 0.9873 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/1.474, allocations: 7.141 kB / 0.9873 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/1.474, allocations: 4 kB / 0.9873 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004701/1.474, allocations: 136.9 kB / 0.9875 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/1.477, allocations: 0.6073 MB / 0.9881 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/1.477, allocations: 100.2 kB / 0.9882 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/1.477, allocations: 90.47 kB / 0.9882 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/1.479, allocations: 0.5093 MB / 0.9887 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/1.479, allocations: 33.94 kB / 0.9888 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 3.878e-06/1.479, allocations: 0 / 0.9888 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0008598/1.479, allocations: 205.8 kB / 0.989 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/1.48, allocations: 59.66 kB / 0.989 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/1.48, allocations: 228.9 kB / 0.9892 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/1.48, allocations: 25.7 kB / 0.9893 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/1.48, allocations: 154 kB / 0.9894 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.784e-05/1.48, allocations: 50.97 kB / 0.9895 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/1.48, allocations: 0 / 0.9895 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.48, allocations: 344.3 kB / 0.9898 GB, free: 12 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/1.481, allocations: 73.73 kB / 0.9899 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/1.481, allocations: 80.98 kB / 0.9899 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/1.481, allocations: 77.92 kB / 0.99 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.481, allocations: 0 / 0.99 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007613/1.482, allocations: 230.4 kB / 0.9902 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/1.482, allocations: 7.984 kB / 0.9902 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.482, allocations: 0 / 0.9902 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/1.482, allocations: 0 / 0.9902 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009329/1.483, allocations: 79.92 kB / 0.9903 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/1.483, allocations: 4 kB / 0.9903 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006866/1.484, allocations: 63.73 kB / 0.9904 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/1.484, allocations: 7.984 kB / 0.9904 GB, free: 11.54 MB / 0.7448 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.0001534/1.484, allocations: 111.5 kB / 0.9905 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.871e-05/1.484, allocations: 27.66 kB / 0.9905 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009127/1.485, allocations: 243.3 kB / 0.9908 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/1.485, allocations: 0 / 0.9908 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.485, allocations: 3.984 kB / 0.9908 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.485, allocations: 0 / 0.9908 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005546/1.486, allocations: 304.1 kB / 0.991 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/1.486, allocations: 0 / 0.991 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008521/1.487, allocations: 82.92 kB / 0.9911 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/1.487, allocations: 0 / 0.9911 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/1.487, allocations: 7.984 kB / 0.9911 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/1.487, allocations: 0 / 0.9911 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.487, allocations: 0 / 0.9911 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007804/1.488, allocations: 311 kB / 0.9914 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/1.488, allocations: 127.1 kB / 0.9916 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.894e-05/1.488, allocations: 4 kB / 0.9916 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007255/1.489, allocations: 51.33 kB / 0.9916 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/1.489, allocations: 15.22 kB / 0.9916 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/1.489, allocations: 7.984 kB / 0.9916 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000308/1.489, allocations: 181.7 kB / 0.9918 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.715e-06/1.489, allocations: 0 / 0.9918 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005762/1.49, allocations: 83.61 kB / 0.9919 GB, free: 10.14 MB / 0.7448 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.001432/1.491, allocations: 0.9328 MB / 0.9928 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006999/1.492, allocations: 181.7 kB / 0.993 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.492, allocations: 4 kB / 0.993 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003104/1.492, allocations: 95.22 kB / 0.9931 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005381/1.493, allocations: 35.42 kB / 0.9931 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/1.494, allocations: 379.2 kB / 0.9935 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/1.495, allocations: 0.7555 MB / 0.9942 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005014/1.495, allocations: 45.16 kB / 0.9942 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/1.495, allocations: 81.58 kB / 0.9943 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of SimCode: time 1.724e-06/1.495, allocations: 0 / 0.9943 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03569/1.531, allocations: 6.234 MB / 1 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003703/1.532, allocations: 181.8 kB / 1.001 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.732/4.264, allocations: 0 / 1.001 GB, free: 1.469 MB / 0.7448 GB