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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 4.048/4.048, allocations: 433 MB / 440.3 MB, free: 4.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5224/4.57, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/4.8, allocations: 98.73 MB / 0.6283 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2463/5.046, allocations: 125.7 MB / 0.751 GB, free: 12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/5.046, allocations: 91.58 kB / 0.7511 GB, free: 11.91 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.01259/5.059, allocations: 2.728 MB / 0.7538 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/5.059, allocations: 8 kB / 0.7538 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.967e-05/5.059, allocations: 15.81 kB / 0.7538 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/5.059, allocations: 226.8 kB / 0.754 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/5.059, allocations: 4 kB / 0.754 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/5.06, allocations: 11.94 kB / 0.754 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001952/5.06, allocations: 43.98 kB / 0.7541 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/5.06, allocations: 81.64 kB / 0.7541 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/5.06, allocations: 3.984 kB / 0.7541 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/5.06, allocations: 4 kB / 0.7541 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/5.06, allocations: 0 / 0.7541 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008867/5.061, allocations: 385.1 kB / 0.7545 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/5.061, allocations: 74.45 kB / 0.7546 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/5.061, allocations: 56.84 kB / 0.7546 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/5.061, allocations: 0 / 0.7546 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002686/5.062, allocations: 154.8 kB / 0.7548 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/5.062, allocations: 0 / 0.7548 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.000479/5.062, allocations: 137.5 kB / 0.7549 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/5.062, allocations: 170.4 kB / 0.7551 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/5.063, allocations: 145.9 kB / 0.7552 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/5.063, allocations: 33.7 kB / 0.7552 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/5.063, allocations: 96.27 kB / 0.7553 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/5.063, allocations: 27.64 kB / 0.7554 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/5.063, allocations: 4 kB / 0.7554 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002446/5.063, allocations: 322.8 kB / 0.7557 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/5.063, allocations: 31.98 kB / 0.7557 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/5.064, allocations: 87.58 kB / 0.7558 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/5.064, allocations: 47.91 kB / 0.7558 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/5.064, allocations: 0 / 0.7558 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004454/5.064, allocations: 157.3 kB / 0.756 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/5.064, allocations: 7.125 kB / 0.756 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/5.064, allocations: 4 kB / 0.756 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/5.064, allocations: 0 / 0.756 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/5.065, allocations: 19.98 kB / 0.756 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/5.065, allocations: 4 kB / 0.756 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/5.065, allocations: 16.16 kB / 0.756 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/5.065, allocations: 8 kB / 0.756 GB, free: 6.52 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 () * 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.000178/5.065, allocations: 172.3 kB / 0.7562 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/5.065, allocations: 15.81 kB / 0.7562 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/5.065, allocations: 21.33 kB / 0.7562 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/5.065, allocations: 0 / 0.7562 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/5.065, allocations: 0 / 0.7562 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/5.065, allocations: 4 kB / 0.7562 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006768/5.066, allocations: 414.9 kB / 0.7566 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/5.066, allocations: 0 / 0.7566 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/5.066, allocations: 19.98 kB / 0.7567 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/5.066, allocations: 0 / 0.7567 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/5.066, allocations: 8 kB / 0.7567 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/5.066, allocations: 0 / 0.7567 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/5.066, allocations: 4 kB / 0.7567 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004554/5.067, allocations: 247.2 kB / 0.7569 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006204/5.067, allocations: 0.6168 MB / 0.7575 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.745e-05/5.067, allocations: 92.92 kB / 0.7576 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/5.067, allocations: 4 kB / 0.7576 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/5.068, allocations: 11.98 kB / 0.7576 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/5.068, allocations: 4 kB / 0.7576 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/5.068, allocations: 7.984 kB / 0.7576 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.000167/5.068, allocations: 128.3 kB / 0.7577 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001541/5.069, allocations: 35.94 kB / 0.7578 GB, free: 4.621 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) * 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.0004358/5.07, allocations: 131.8 kB / 0.7579 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005983/5.071, allocations: 198.7 kB / 0.7581 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/5.071, allocations: 0 / 0.7581 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/5.071, allocations: 131.3 kB / 0.7582 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/5.071, allocations: 12.59 kB / 0.7582 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000732/5.072, allocations: 187 kB / 0.7584 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003827/5.072, allocations: 0.727 MB / 0.7591 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of SimCode: time 4.278e-06/5.072, allocations: 0 / 0.7591 GB, free: 3.152 MB / 0.6355 GB