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.01238/0.01238, allocations: 222.2 kB / 15.17 MB, free: 5.918 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.001149/0.001149, allocations: 174.5 kB / 16.06 MB, free: 5.832 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 3.741/3.741, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.278/4.278, allocations: 472.3 MB / 0.9017 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000495/0.0004952, allocations: 16 kB / 1.008 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.711/0.7115, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002379/0.7139, allocations: 1.295 MB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.7151, allocations: 0.5397 MB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.725e-05/0.7152, allocations: 6.469 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.7153, allocations: 15.33 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.7156, allocations: 39.97 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.7161, allocations: 80.33 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.7163, allocations: 127.9 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.7164, allocations: 22.14 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.7166, allocations: 60.61 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.7168, allocations: 64.23 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.7168, allocations: 10.41 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.275e-05/0.7169, allocations: 17.02 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.611e-05/0.717, allocations: 22.05 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.686e-05/0.7171, allocations: 47.67 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.7173, allocations: 107.3 kB / 1.107 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7173, allocations: 0 / 1.107 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.235e-06/0.7173, allocations: 0 / 1.107 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.7173, allocations: 0 / 1.107 GB, free: 211.4 MB / 0.7292 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.0006645/0.718, allocations: 0.5152 MB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.718, allocations: 8 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.7181, allocations: 37.7 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.7182, allocations: 21.02 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.7185, allocations: 230.8 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.7185, allocations: 9.656 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.7186, allocations: 9.281 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.7189, allocations: 101.8 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.7189, allocations: 0 / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.719, allocations: 1.812 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.719, allocations: 5.844 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.7193, allocations: 77.59 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008103/0.7201, allocations: 389.2 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.7204, allocations: 92.89 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.7207, allocations: 74.17 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.7207, allocations: 7.953 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003684/0.7211, allocations: 169.2 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 2.976e-06/0.7211, allocations: 1.188 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.001004/0.7221, allocations: 330.7 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.7222, allocations: 161.5 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.7224, allocations: 177.4 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.7225, allocations: 28.11 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.7226, allocations: 111.4 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.7226, allocations: 25.67 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/0.7226, allocations: 6.406 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.927e-05/0.7227, allocations: 325.5 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.7229, allocations: 51.42 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.7232, allocations: 103 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.7235, allocations: 169.9 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.7235, allocations: 1.312 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007542/0.7242, allocations: 330 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-05/0.7243, allocations: 112.5 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.7243, allocations: 6.484 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.7244, allocations: 5.094 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.7245, allocations: 20.58 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.7246, allocations: 6.75 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.7247, allocations: 23.53 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.7248, allocations: 6.281 kB / 1.11 GB, free: 208.5 MB / 0.7292 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.0001691/0.725, allocations: 197.5 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.725, allocations: 13.25 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/0.7251, allocations: 19.44 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.7251, allocations: 5.266 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.7251, allocations: 0 / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.7251, allocations: 1.312 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009405/0.7261, allocations: 0.5633 MB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.7261, allocations: 0 / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.7262, allocations: 18.08 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.7262, allocations: 5.172 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.7263, allocations: 7.406 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.7263, allocations: 8.219 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7263, allocations: 0.8438 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007365/0.727, allocations: 381.8 kB / 1.111 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.7271, allocations: 87.55 kB / 1.111 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.211e-05/0.7272, allocations: 12.02 kB / 1.111 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.7273, allocations: 7.5 kB / 1.111 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.7274, allocations: 5.891 kB / 1.111 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.7275, allocations: 11.72 kB / 1.111 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001274/0.7276, allocations: 132.8 kB / 1.112 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.9e-07/0.7276, allocations: 0 / 1.112 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004333/0.728, allocations: 39.22 kB / 1.112 GB, free: 207.4 MB / 0.7292 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.001112/0.7292, allocations: 0.9496 MB / 1.112 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006314/0.7298, allocations: 347.9 kB / 1.113 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7298, allocations: 1.938 kB / 1.113 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003094/0.7302, allocations: 197.1 kB / 1.113 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.7306, allocations: 31.12 kB / 1.113 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.7328, allocations: 0.9296 MB / 1.114 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.733, allocations: 0.7121 MB / 1.115 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001171/0.7331, allocations: 23.02 kB / 1.115 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.254e-05/0.7332, allocations: 36.62 kB / 1.115 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of SimCode: time 1.092e-06/0.7332, allocations: 0 / 1.115 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.7559, allocations: 3.103 MB / 1.118 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/0.7562, allocations: 186.5 kB / 1.118 GB, free: 204.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/3.173, allocations: 3.938 kB / 1.118 GB, free: 204.6 MB / 0.7292 GB