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 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.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 loadModel(Buildings): time 4.531/4.531, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.093e-05/4.113e-05, allocations: 4.906 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2354, allocations: 98.73 MB / 0.6347 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2529/0.4883, allocations: 126.4 MB / 0.7582 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/0.4887, allocations: 83.92 kB / 0.7582 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01168/0.5004, allocations: 2.539 MB / 0.7607 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5005, allocations: 0 / 0.7607 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.5005, allocations: 0 / 0.7607 GB, free: 0.7188 MB / 0.6355 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.0007327/0.5012, allocations: 0.4972 MB / 0.7612 GB, free: 156 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.5013, allocations: 12.03 kB / 0.7612 GB, free: 144 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.902e-05/0.5014, allocations: 34.56 kB / 0.7612 GB, free: 100 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.398e-05/0.5015, allocations: 23.7 kB / 0.7613 GB, free: 76 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.5019, allocations: 226.7 kB / 0.7615 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.5019, allocations: 11.98 kB / 0.7615 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.502, allocations: 12 kB / 0.7615 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.5023, allocations: 85.66 kB / 0.7616 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.5023, allocations: 3.938 kB / 0.7616 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.5024, allocations: 4 kB / 0.7616 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.5024, allocations: 4 kB / 0.7616 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.5026, allocations: 43.98 kB / 0.7616 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.5036, allocations: 408.6 kB / 0.762 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.5038, allocations: 66.56 kB / 0.7621 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.504, allocations: 60.84 kB / 0.7622 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.5041, allocations: 4 kB / 0.7622 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002975/0.5044, allocations: 150.8 kB / 0.7623 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 3.266e-06/0.5044, allocations: 0 / 0.7623 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.000717/0.5051, allocations: 264.9 kB / 0.7626 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.5053, allocations: 162.2 kB / 0.7627 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.5055, allocations: 157.8 kB / 0.7629 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.5056, allocations: 29.7 kB / 0.7629 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.506e-05/0.5057, allocations: 112.2 kB / 0.763 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.5057, allocations: 23.7 kB / 0.763 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.685e-05/0.5058, allocations: 4 kB / 0.763 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5059, allocations: 326.8 kB / 0.7633 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.5061, allocations: 35.98 kB / 0.7634 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.5063, allocations: 90.8 kB / 0.7635 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.5065, allocations: 154.8 kB / 0.7636 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5065, allocations: 0 / 0.7636 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006954/0.5072, allocations: 304.1 kB / 0.7639 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.995e-05/0.5073, allocations: 114.8 kB / 0.764 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.5074, allocations: 7.984 kB / 0.764 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.5074, allocations: 12.19 kB / 0.764 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.5076, allocations: 19.94 kB / 0.764 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.5077, allocations: 7.938 kB / 0.764 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.5078, allocations: 8 kB / 0.7641 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.5079, allocations: 8 kB / 0.7641 GB, free: 12.89 MB / 0.6511 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 () * 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.0001944/0.5081, allocations: 182.8 kB / 0.7642 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/0.5081, allocations: 15.81 kB / 0.7643 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.18e-05/0.5082, allocations: 17.53 kB / 0.7643 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.5082, allocations: 3.984 kB / 0.7643 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.5082, allocations: 3.953 kB / 0.7643 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5083, allocations: 0 / 0.7643 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009771/0.5092, allocations: 0.533 MB / 0.7648 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5093, allocations: 0 / 0.7648 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.5094, allocations: 15.98 kB / 0.7648 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.5095, allocations: 0 / 0.7648 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.5095, allocations: 11.98 kB / 0.7648 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/0.5095, allocations: 7.891 kB / 0.7648 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5095, allocations: 0 / 0.7648 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006946/0.5102, allocations: 354.6 kB / 0.7652 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-05/0.5103, allocations: 93 kB / 0.7653 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.195e-05/0.5104, allocations: 4 kB / 0.7653 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.5106, allocations: 8 kB / 0.7653 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/0.5107, allocations: 19.94 kB / 0.7653 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.5107, allocations: 4 kB / 0.7653 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001994/0.511, allocations: 132.2 kB / 0.7654 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.1e-07/0.511, allocations: 0 / 0.7654 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004209/0.5114, allocations: 36 kB / 0.7655 GB, free: 11.33 MB / 0.6511 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) * 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.00131/0.5127, allocations: 0.9263 MB / 0.7664 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006445/0.5134, allocations: 321.5 kB / 0.7667 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.5134, allocations: 4 kB / 0.7667 GB, free: 10 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.5137, allocations: 183.2 kB / 0.7668 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.5141, allocations: 24.08 kB / 0.7669 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.5151, allocations: 239.3 kB / 0.7671 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.5156, allocations: 0.7121 MB / 0.7678 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.5157, allocations: 24.47 kB / 0.7678 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.8e-05/0.5158, allocations: 39.42 kB / 0.7678 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of SimCode: time 1.492e-06/0.5158, allocations: 0 / 0.7678 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/0.5454, allocations: 3.045 MB / 0.7708 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003531/0.5459, allocations: 166.6 kB / 0.771 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.837/3.383, allocations: 0 / 0.771 GB, free: 5.496 MB / 0.6511 GB