Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.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.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_IO_Files_Examples_CSVWriter",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.01068/0.01068, allocations: 103.9 kB / 15.06 MB, free: 6.027 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.001242/0.001242, allocations: 182.3 kB / 15.95 MB, free: 5.953 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.012/2.012, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.333/2.333, allocations: 236.2 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007414/0.0007416, allocations: 16 kB / 0.587 GB, free: 2.105 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.727/0.7278, allocations: 98.72 MB / 0.6834 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002162/0.73, allocations: 1.288 MB / 0.6847 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.7312, allocations: 0.5363 MB / 0.6852 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.152e-05/0.7314, allocations: 9.281 kB / 0.6852 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.7315, allocations: 17.66 kB / 0.6852 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.7318, allocations: 38.53 kB / 0.6853 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00056/0.7324, allocations: 75.06 kB / 0.6853 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.7326, allocations: 89.48 kB / 0.6854 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.7327, allocations: 30.06 kB / 0.6855 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.7329, allocations: 61.17 kB / 0.6855 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.7331, allocations: 65.27 kB / 0.6856 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.45e-05/0.7331, allocations: 6.344 kB / 0.6856 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 8.49e-05/0.7332, allocations: 11.03 kB / 0.6856 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.211e-05/0.7333, allocations: 20.53 kB / 0.6856 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.305e-05/0.7334, allocations: 45.77 kB / 0.6857 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.7336, allocations: 107.6 kB / 0.6858 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.7336, allocations: 0 / 0.6858 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.335e-06/0.7337, allocations: 0.5625 kB / 0.6858 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.7337, allocations: 4 kB / 0.6858 GB, free: 15.05 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006735/0.7344, allocations: 0.51 MB / 0.6863 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.7344, allocations: 10.56 kB / 0.6863 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.462e-05/0.7345, allocations: 41.7 kB / 0.6863 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.199e-05/0.7345, allocations: 21.94 kB / 0.6863 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.7349, allocations: 218.7 kB / 0.6865 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.7349, allocations: 9.438 kB / 0.6866 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.735, allocations: 11.84 kB / 0.6866 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.7353, allocations: 104.7 kB / 0.6867 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.7354, allocations: 3.938 kB / 0.6867 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.7354, allocations: 7.125 kB / 0.6867 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.7354, allocations: 5.156 kB / 0.6867 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.7357, allocations: 74.88 kB / 0.6868 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008131/0.7366, allocations: 392.6 kB / 0.6871 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.7369, allocations: 87 kB / 0.6872 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.737, allocations: 5.297 kB / 0.6872 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005019/0.7375, allocations: 167 kB / 0.6874 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 3.696e-06/0.7375, allocations: 4 kB / 0.6874 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.001757/0.7393, allocations: 487.8 kB / 0.6878 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.7395, allocations: 165.1 kB / 0.688 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/0.7398, allocations: 175.8 kB / 0.6882 GB, free: 13 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.339e-05/0.7399, allocations: 37.09 kB / 0.6882 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.74, allocations: 107.5 kB / 0.6883 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.7401, allocations: 27.7 kB / 0.6883 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.7401, allocations: 2.75 kB / 0.6883 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.7403, allocations: 326.9 kB / 0.6886 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.7406, allocations: 50.14 kB / 0.6887 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/0.7411, allocations: 104.1 kB / 0.6888 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005536/0.7416, allocations: 167.5 kB / 0.689 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/0.7417, allocations: 0.9062 kB / 0.689 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00127/0.743, allocations: 331.6 kB / 0.6893 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.259e-05/0.7431, allocations: 118.4 kB / 0.6894 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.7431, allocations: 1.406 kB / 0.6894 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.527e-05/0.7432, allocations: 8.406 kB / 0.6894 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.7435, allocations: 17.33 kB / 0.6894 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/0.7435, allocations: 7.219 kB / 0.6894 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003104/0.7438, allocations: 23.91 kB / 0.6894 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-05/0.7439, allocations: 7.188 kB / 0.6894 GB, free: 11.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.combiTimeTableWriter.str,combiTimeTableWriter.str,$PRE.csvWriter.str,csvWriter.str,$whenCondition2,combiTimeTableWriter.sampleTrigger,$whenCondition1,csvWriter.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.0003232/0.7443, allocations: 189.5 kB / 0.6896 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.755e-05/0.7444, allocations: 13.25 kB / 0.6896 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.773e-05/0.7445, allocations: 14.41 kB / 0.6897 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.7445, allocations: 4.984 kB / 0.6897 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.7445, allocations: 6.547 kB / 0.6897 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.7445, allocations: 0 / 0.6897 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.7462, allocations: 0.5686 MB / 0.6902 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.7463, allocations: 1.453 kB / 0.6902 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.7464, allocations: 16.16 kB / 0.6902 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.7465, allocations: 2.078 kB / 0.6902 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.7465, allocations: 8.578 kB / 0.6902 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.7465, allocations: 5.125 kB / 0.6903 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7465, allocations: 288 / 0.6903 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.7478, allocations: 386 kB / 0.6906 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.622e-05/0.748, allocations: 87.56 kB / 0.6907 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.599e-05/0.7481, allocations: 6.656 kB / 0.6907 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.7484, allocations: 13.39 kB / 0.6907 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.163e-05/0.7485, allocations: 14.11 kB / 0.6907 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.7485, allocations: 7.266 kB / 0.6907 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002068/0.7488, allocations: 131.2 kB / 0.6909 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.01e-07/0.7488, allocations: 0 / 0.6909 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007029/0.7495, allocations: 31.06 kB / 0.6909 GB, free: 10.79 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: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.001417/0.7509, allocations: 0.9481 MB / 0.6918 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006676/0.7516, allocations: 347.1 kB / 0.6922 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7516, allocations: 1.469 kB / 0.6922 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.752, allocations: 197.3 kB / 0.6923 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.7523, allocations: 24.42 kB / 0.6924 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.7536, allocations: 1.61 MB / 0.6939 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.7538, allocations: 0.7171 MB / 0.6946 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.7539, allocations: 20.12 kB / 0.6947 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.983e-05/0.754, allocations: 37.84 kB / 0.6947 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of SimCode: time 1.362e-06/0.754, allocations: 0 / 0.6947 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.778, allocations: 3.043 MB / 0.6977 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.7782, allocations: 188.7 kB / 0.6978 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.751/3.529, allocations: 0 / 0.6978 GB, free: 6.652 MB / 0.5261 GB