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.EN12975SolarGain.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.01118/0.01118, allocations: 107.5 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.00122/0.00122, allocations: 181.8 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 2.055/2.055, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.397/2.397, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007553/0.0007554, allocations: 12 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.698/0.6988, allocations: 98.7 MB / 0.6834 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002715/0.7016, allocations: 1.61 MB / 0.685 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00548/0.7071, allocations: 3.206 MB / 0.6881 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.7074, allocations: 2.219 kB / 0.6881 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.7077, allocations: 45.38 kB / 0.6882 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004368/0.7081, allocations: 115.4 kB / 0.6883 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.7086, allocations: 98.16 kB / 0.6884 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003815/0.709, allocations: 164.8 kB / 0.6885 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.7092, allocations: 35.92 kB / 0.6886 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003263/0.7095, allocations: 91.09 kB / 0.6887 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.7098, allocations: 102.7 kB / 0.6888 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.334e-05/0.7099, allocations: 7.438 kB / 0.6888 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/0.7102, allocations: 86.45 kB / 0.6888 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.542e-05/0.7103, allocations: 37.94 kB / 0.6889 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.802e-05/0.7104, allocations: 55.17 kB / 0.6889 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.7108, allocations: 182.1 kB / 0.6891 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.7108, allocations: 0 / 0.6891 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7108, allocations: 0 / 0.6891 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.7108, allocations: 1 kB / 0.6891 GB, free: 12.8 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001666/0.7125, allocations: 0.5747 MB / 0.6897 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.7126, allocations: 9.812 kB / 0.6897 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.421e-05/0.7126, allocations: 39.5 kB / 0.6897 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/0.7127, allocations: 22.91 kB / 0.6897 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006006/0.7133, allocations: 268.1 kB / 0.69 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.7134, allocations: 7.531 kB / 0.69 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.7134, allocations: 9.422 kB / 0.69 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009144/0.7143, allocations: 193.9 kB / 0.6902 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.7144, allocations: 1.156 kB / 0.6902 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.7144, allocations: 4 kB / 0.6902 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.7144, allocations: 7.266 kB / 0.6902 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.7158, allocations: 239.3 kB / 0.6904 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.7172, allocations: 0.4923 MB / 0.6909 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007541/0.718, allocations: 143.6 kB / 0.691 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001356/0.7194, allocations: 0.5751 MB / 0.6916 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.7194, allocations: 37.05 kB / 0.6916 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 2.776e-06/0.7194, allocations: 0 / 0.6916 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.002333/0.7218, allocations: 415.5 kB / 0.692 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.7218, allocations: 57.5 kB / 0.6921 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.7222, allocations: 231.3 kB / 0.6923 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.7222, allocations: 27.05 kB / 0.6923 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.904e-05/0.7223, allocations: 139.7 kB / 0.6925 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.089e-05/0.7224, allocations: 32.27 kB / 0.6925 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.7224, allocations: 4 kB / 0.6925 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.7225, allocations: 334.8 kB / 0.6928 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006751/0.7232, allocations: 118.8 kB / 0.6929 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000663/0.7239, allocations: 115.1 kB / 0.6931 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006797/0.7246, allocations: 115.9 kB / 0.6932 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7246, allocations: 0 / 0.6932 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001554/0.7262, allocations: 304.7 kB / 0.6935 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.7262, allocations: 5.344 kB / 0.6935 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.7262, allocations: 0 / 0.6935 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.7263, allocations: 1.25 kB / 0.6935 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005962/0.7269, allocations: 61.06 kB / 0.6935 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.7269, allocations: 2.062 kB / 0.6935 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.7274, allocations: 49.61 kB / 0.6936 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.7274, allocations: 4.734 kB / 0.6936 GB, free: 9.867 MB / 0.5261 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001652/0.7276, allocations: 123.5 kB / 0.6937 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.7277, allocations: 22.02 kB / 0.6937 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.7293, allocations: 333.1 kB / 0.694 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.7293, allocations: 1 kB / 0.694 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.7293, allocations: 5.062 kB / 0.694 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.7293, allocations: 4.75 kB / 0.694 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.7298, allocations: 276.5 kB / 0.6943 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.7298, allocations: 0 / 0.6943 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005629/0.7304, allocations: 52.38 kB / 0.6944 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.7304, allocations: 5.859 kB / 0.6944 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.7305, allocations: 6.766 kB / 0.6944 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.7305, allocations: 5.891 kB / 0.6944 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7305, allocations: 0 / 0.6944 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.732, allocations: 399.1 kB / 0.6948 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.7322, allocations: 116.2 kB / 0.6949 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.456e-05/0.7322, allocations: 10.58 kB / 0.6949 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004688/0.7327, allocations: 40.86 kB / 0.6949 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.7329, allocations: 15.83 kB / 0.6949 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.7329, allocations: 9.391 kB / 0.6949 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002236/0.7331, allocations: 166.6 kB / 0.6951 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7331, allocations: 0 / 0.6951 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005076/0.7337, allocations: 52.97 kB / 0.6951 GB, free: 8.926 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 (11): * Single equations (assignments): 11 * 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.001944/0.7356, allocations: 0.9588 MB / 0.6961 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001463/0.7371, allocations: 257.8 kB / 0.6963 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7371, allocations: 0 / 0.6963 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007393/0.7379, allocations: 140.1 kB / 0.6965 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005111/0.7384, allocations: 32.28 kB / 0.6965 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005479/0.7439, allocations: 1.488 MB / 0.6979 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.7443, allocations: 0.7438 MB / 0.6987 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004702/0.7448, allocations: 34.66 kB / 0.6987 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.7451, allocations: 67.45 kB / 0.6988 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/0.7451, allocations: 0 / 0.6988 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08279/0.8279, allocations: 4.364 MB / 0.703 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.8282, allocations: 205.7 kB / 0.7032 GB, free: 4.555 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.935/3.763, allocations: 0.875 kB / 0.7032 GB, free: 4.555 MB / 0.5261 GB