Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01084/0.01084, allocations: 88.98 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001246/0.001246, allocations: 172.3 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.208/2.208, allocations: 205.5 MB / 222.2 MB, free: 13.73 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.458/2.458, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.000487, allocations: 15.69 kB / 0.6243 GB, free: 21.04 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2485, allocations: 106.2 MB / 0.7281 GB, free: 8.137 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002628/0.2512, allocations: 1.305 MB / 0.7293 GB, free: 6.816 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.2527, allocations: 0.5935 MB / 0.7299 GB, free: 6.215 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.593e-05/0.2528, allocations: 0 / 0.7299 GB, free: 6.215 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.253, allocations: 23.91 kB / 0.7299 GB, free: 6.191 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.2532, allocations: 39.88 kB / 0.73 GB, free: 6.152 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006152/0.2539, allocations: 95.77 kB / 0.7301 GB, free: 6.059 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.2541, allocations: 91.83 kB / 0.7302 GB, free: 5.969 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.2542, allocations: 29.08 kB / 0.7302 GB, free: 5.941 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.2544, allocations: 71.75 kB / 0.7303 GB, free: 5.871 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.2546, allocations: 75.73 kB / 0.7303 GB, free: 5.797 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.2547, allocations: 4 kB / 0.7303 GB, free: 5.793 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-05/0.2548, allocations: 16 kB / 0.7304 GB, free: 5.777 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 8.481e-05/0.2549, allocations: 23.91 kB / 0.7304 GB, free: 5.754 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 8.73e-05/0.255, allocations: 53.64 kB / 0.7304 GB, free: 5.695 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.2552, allocations: 115.7 kB / 0.7305 GB, free: 5.582 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2552, allocations: 0 / 0.7305 GB, free: 5.582 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2552, allocations: 0 / 0.7305 GB, free: 5.582 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2552, allocations: 0 / 0.7305 GB, free: 5.582 MB / 0.5574 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.0008101/0.2561, allocations: 0.5291 MB / 0.7311 GB, free: 4.98 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.2561, allocations: 8.031 kB / 0.7311 GB, free: 4.973 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.38e-05/0.2562, allocations: 38.56 kB / 0.7311 GB, free: 4.926 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.682e-05/0.2563, allocations: 23.77 kB / 0.7311 GB, free: 4.902 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.2567, allocations: 226.8 kB / 0.7313 GB, free: 4.641 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.2567, allocations: 12 kB / 0.7313 GB, free: 4.629 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-05/0.2568, allocations: 12 kB / 0.7314 GB, free: 4.617 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.2572, allocations: 117.6 kB / 0.7315 GB, free: 4.496 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2572, allocations: 0 / 0.7315 GB, free: 4.496 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.2572, allocations: 7.984 kB / 0.7315 GB, free: 4.488 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2572, allocations: 0 / 0.7315 GB, free: 4.488 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.2576, allocations: 79.91 kB / 0.7316 GB, free: 4.41 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009114/0.2585, allocations: 420.5 kB / 0.732 GB, free: 3.949 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.2589, allocations: 106.5 kB / 0.7321 GB, free: 3.836 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.2589, allocations: 7.938 kB / 0.7321 GB, free: 3.828 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004053/0.2593, allocations: 178.8 kB / 0.7322 GB, free: 3.629 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=10): time 2.414e-06/0.2593, allocations: 0 / 0.7322 GB, free: 3.629 MB / 0.5574 GB Notification: Performance of matching and sorting (n=10): time 0.001289/0.2606, allocations: 0.5107 MB / 0.7327 GB, free: 3.062 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.2608, allocations: 166.4 kB / 0.7329 GB, free: 2.863 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.261, allocations: 179.9 kB / 0.7331 GB, free: 2.676 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.2611, allocations: 33.7 kB / 0.7331 GB, free: 2.637 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 9.33e-05/0.2612, allocations: 112.3 kB / 0.7332 GB, free: 2.523 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.2612, allocations: 27.66 kB / 0.7332 GB, free: 2.496 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/0.2613, allocations: 4 kB / 0.7332 GB, free: 2.492 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2614, allocations: 326.8 kB / 0.7335 GB, free: 2.164 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.2616, allocations: 55.95 kB / 0.7336 GB, free: 2.109 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.2619, allocations: 102.8 kB / 0.7337 GB, free: 1.984 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.2623, allocations: 182.7 kB / 0.7339 GB, free: 1.781 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2623, allocations: 0 / 0.7339 GB, free: 1.781 MB / 0.5574 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0008835/0.2632, allocations: 352.3 kB / 0.7342 GB, free: 1.406 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.2633, allocations: 122 kB / 0.7343 GB, free: 1.266 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.2633, allocations: 0 / 0.7343 GB, free: 1.266 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.2634, allocations: 7.953 kB / 0.7343 GB, free: 1.258 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.2636, allocations: 23.92 kB / 0.7344 GB, free: 1.234 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.2636, allocations: 4 kB / 0.7344 GB, free: 1.23 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.2638, allocations: 23.83 kB / 0.7344 GB, free: 1.207 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.2638, allocations: 12 kB / 0.7344 GB, free: 1.195 MB / 0.5574 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.0002339/0.2641, allocations: 201.2 kB / 0.7346 GB, free: 0.9766 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.2641, allocations: 11.91 kB / 0.7346 GB, free: 0.9648 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.2642, allocations: 17.39 kB / 0.7346 GB, free: 0.9492 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.2642, allocations: 3.953 kB / 0.7346 GB, free: 0.9453 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2642, allocations: 4 kB / 0.7346 GB, free: 0.9414 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2642, allocations: 0 / 0.7346 GB, free: 0.9414 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.2655, allocations: 0.5914 MB / 0.7352 GB, free: 288 kB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.2655, allocations: 0 / 0.7352 GB, free: 288 kB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.2657, allocations: 15.98 kB / 0.7352 GB, free: 272 kB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.2657, allocations: 3.938 kB / 0.7352 GB, free: 268 kB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.2657, allocations: 15.94 kB / 0.7352 GB, free: 252 kB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.2657, allocations: 0 / 0.7352 GB, free: 252 kB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.2658, allocations: 3.984 kB / 0.7352 GB, free: 248 kB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009521/0.2667, allocations: 414.6 kB / 0.7356 GB, free: 15.81 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.758e-05/0.2668, allocations: 85.02 kB / 0.7357 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.224e-05/0.2669, allocations: 7.938 kB / 0.7357 GB, free: 15.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.2671, allocations: 15.94 kB / 0.7357 GB, free: 15.68 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.2672, allocations: 12 kB / 0.7357 GB, free: 15.67 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.2672, allocations: 11.98 kB / 0.7358 GB, free: 15.66 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001467/0.2674, allocations: 123.2 kB / 0.7359 GB, free: 15.54 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.1e-07/0.2674, allocations: 0 / 0.7359 GB, free: 15.54 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000452/0.2678, allocations: 39.98 kB / 0.7359 GB, free: 15.5 MB / 0.573 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.001393/0.2692, allocations: 0.961 MB / 0.7369 GB, free: 14.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0007708/0.27, allocations: 369.4 kB / 0.7372 GB, free: 14.09 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2701, allocations: 0 / 0.7372 GB, free: 14.09 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.2704, allocations: 214.7 kB / 0.7374 GB, free: 13.86 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.2708, allocations: 24.08 kB / 0.7374 GB, free: 13.84 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.2724, allocations: 1.609 MB / 0.739 GB, free: 12.15 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.2727, allocations: 0.7199 MB / 0.7397 GB, free: 11.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.2729, allocations: 20.53 kB / 0.7397 GB, free: 11.38 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.53e-05/0.273, allocations: 35.36 kB / 0.7398 GB, free: 11.35 MB / 0.573 GB Notification: Performance of SimCode: time 9.82e-07/0.273, allocations: 0 / 0.7398 GB, free: 11.35 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.3017, allocations: 3.329 MB / 0.743 GB, free: 8.141 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003687/0.3023, allocations: 189.2 kB / 0.7432 GB, free: 7.895 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/3.031, allocations: 0 / 0.7432 GB, free: 7.895 MB / 0.573 GB