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.01581/0.01581, allocations: 107 kB / 15.05 MB, free: 5.98 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.001765/0.001765, allocations: 184.6 kB / 15.95 MB, free: 5.938 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.206/2.206, allocations: 194.5 MB / 211.2 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.26/2.26, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.0004808, allocations: 12 kB / 0.587 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.67/0.6705, allocations: 98.71 MB / 0.6834 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2304/0.901, allocations: 126.5 MB / 0.807 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/0.9014, allocations: 83.95 kB / 0.807 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01157/0.913, allocations: 2.538 MB / 0.8095 GB, free: 13 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.52e-06/0.913, allocations: 0 / 0.8095 GB, free: 13 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.9131, allocations: 7.875 kB / 0.8095 GB, free: 12.99 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.0008311/0.9139, allocations: 0.5211 MB / 0.81 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.914, allocations: 12.03 kB / 0.8101 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/0.914, allocations: 30.56 kB / 0.8101 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.546e-05/0.9141, allocations: 23.86 kB / 0.8101 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.9145, allocations: 228.2 kB / 0.8103 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.9146, allocations: 7.938 kB / 0.8103 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.9146, allocations: 12 kB / 0.8103 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.915, allocations: 104.1 kB / 0.8104 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.915, allocations: 0 / 0.8104 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.9151, allocations: 4 kB / 0.8104 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.557e-06/0.9151, allocations: 4 kB / 0.8104 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003423/0.9155, allocations: 75.89 kB / 0.8105 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009408/0.9164, allocations: 396.7 kB / 0.8109 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.9167, allocations: 86.56 kB / 0.811 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.9168, allocations: 4 kB / 0.811 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003801/0.9172, allocations: 174.7 kB / 0.8112 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.094e-06/0.9172, allocations: 0 / 0.8112 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.001304/0.9185, allocations: 491 kB / 0.8116 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.9186, allocations: 166.2 kB / 0.8118 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.9189, allocations: 157.7 kB / 0.8119 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.919, allocations: 33.7 kB / 0.812 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.9191, allocations: 112.3 kB / 0.8121 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.9191, allocations: 23.98 kB / 0.8121 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/0.9192, allocations: 0 / 0.8121 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.9194, allocations: 326.8 kB / 0.8124 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.9196, allocations: 51.91 kB / 0.8125 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.9199, allocations: 106.8 kB / 0.8126 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.9202, allocations: 166.8 kB / 0.8127 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.9203, allocations: 0 / 0.8127 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0008383/0.9211, allocations: 332 kB / 0.813 GB, free: 8.996 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.9212, allocations: 118.8 kB / 0.8131 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.9213, allocations: 4 kB / 0.8131 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.9213, allocations: 0 / 0.8131 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.9215, allocations: 24.23 kB / 0.8132 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.9215, allocations: 7.953 kB / 0.8132 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.9217, allocations: 11.98 kB / 0.8132 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.9218, allocations: 12 kB / 0.8132 GB, free: 8.797 MB / 0.6355 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.0002574/0.922, allocations: 200.1 kB / 0.8134 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.9221, allocations: 15.81 kB / 0.8134 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.588e-05/0.9222, allocations: 13.41 kB / 0.8134 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.9222, allocations: 0 / 0.8134 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.9222, allocations: 4 kB / 0.8134 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.9222, allocations: 7.938 kB / 0.8134 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.9234, allocations: 0.5603 MB / 0.814 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.9234, allocations: 0 / 0.814 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.9235, allocations: 16 kB / 0.814 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.9236, allocations: 3.984 kB / 0.814 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.9236, allocations: 7.984 kB / 0.814 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.9236, allocations: 3.953 kB / 0.814 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9236, allocations: 160 / 0.814 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008683/0.9245, allocations: 386.6 kB / 0.8144 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-05/0.9246, allocations: 88.92 kB / 0.8145 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.764e-05/0.9247, allocations: 4 kB / 0.8145 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.9248, allocations: 11.98 kB / 0.8145 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.9249, allocations: 11.94 kB / 0.8145 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.9249, allocations: 11.94 kB / 0.8145 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001559/0.9251, allocations: 127.2 kB / 0.8146 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9251, allocations: 0 / 0.8146 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004231/0.9256, allocations: 39.98 kB / 0.8147 GB, free: 7.16 MB / 0.6355 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.001492/0.9271, allocations: 0.9549 MB / 0.8156 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007675/0.9279, allocations: 361.6 kB / 0.8159 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.9279, allocations: 0 / 0.8159 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.9283, allocations: 190.8 kB / 0.8161 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.9286, allocations: 20.06 kB / 0.8161 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.9304, allocations: 1.606 MB / 0.8177 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.9308, allocations: 0.7121 MB / 0.8184 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001345/0.9309, allocations: 20.53 kB / 0.8184 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.931, allocations: 35.42 kB / 0.8185 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of SimCode: time 2.765e-06/0.931, allocations: 4 kB / 0.8185 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.9576, allocations: 3.037 MB / 0.8214 GB, free: 148 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003501/0.958, allocations: 182.2 kB / 0.8216 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.929/3.887, allocations: 0 / 0.8216 GB, free: 15.91 MB / 0.6511 GB