Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter") [: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 loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.251/2.251, allocations: 284.9 MB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001644/0.001644, allocations: 177.3 kB / 360.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.2 MB / 0.6188 GB, free: 12.4 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00131/0.00131, allocations: 95.8 kB / 0.7318 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.799e-06/9.948e-06, allocations: 0 / 0.8502 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.584/0.5841, allocations: 115.2 MB / 0.9628 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.235/0.8192, allocations: 139.2 MB / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/0.8196, allocations: 79.28 kB / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02299/0.8426, allocations: 4.614 MB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.8426, allocations: 4.688 kB / 1.103 GB, free: 12.93 MB / 0.7136 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.0007472/0.8434, allocations: 0.5113 MB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.8435, allocations: 12.53 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.452e-05/0.8436, allocations: 21.28 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.8441, allocations: 234.8 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.8441, allocations: 11.84 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/0.8441, allocations: 12 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002225/0.8444, allocations: 44.55 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.8447, allocations: 98.22 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.8447, allocations: 0.9062 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.8447, allocations: 7.984 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.8447, allocations: 0.75 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.8458, allocations: 404 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.8461, allocations: 74.56 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.8463, allocations: 64.83 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.8464, allocations: 0 / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002945/0.8467, allocations: 170.6 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.325e-06/0.8467, allocations: 4 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0005778/0.8473, allocations: 153.5 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.8474, allocations: 170.2 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.8477, allocations: 146.4 kB / 1.105 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.8477, allocations: 33.7 kB / 1.105 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.8478, allocations: 100.3 kB / 1.105 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.8478, allocations: 23.66 kB / 1.105 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/0.8479, allocations: 0 / 1.105 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.848, allocations: 336.6 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.8482, allocations: 36 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.8484, allocations: 86.84 kB / 1.106 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.8486, allocations: 51.97 kB / 1.106 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.8486, allocations: 0 / 1.106 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005131/0.8491, allocations: 165.3 kB / 1.106 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.8491, allocations: 5.094 kB / 1.106 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.8492, allocations: 3.938 kB / 1.106 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.8492, allocations: 8.25 kB / 1.106 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.8494, allocations: 19.98 kB / 1.106 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.8494, allocations: 4 kB / 1.106 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.8496, allocations: 11.98 kB / 1.106 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.8497, allocations: 8 kB / 1.106 GB, free: 9.668 MB / 0.7136 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.0002077/0.8499, allocations: 185 kB / 1.106 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.85, allocations: 23.73 kB / 1.106 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.855e-05/0.85, allocations: 13.41 kB / 1.106 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.85, allocations: 0 / 1.106 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.8501, allocations: 4 kB / 1.106 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.8501, allocations: 0 / 1.106 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007638/0.8508, allocations: 432 kB / 1.107 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.8509, allocations: 0 / 1.107 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.851, allocations: 19.98 kB / 1.107 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.8511, allocations: 0 / 1.107 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.8511, allocations: 4 kB / 1.107 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.8511, allocations: 5.672 kB / 1.107 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.8511, allocations: 4 kB / 1.107 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005529/0.8517, allocations: 260.1 kB / 1.107 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.503e-05/0.8518, allocations: 92.91 kB / 1.107 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/0.8519, allocations: 8 kB / 1.107 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.8521, allocations: 8 kB / 1.107 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.8522, allocations: 12.64 kB / 1.107 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.8522, allocations: 4 kB / 1.107 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001525/0.8524, allocations: 128.3 kB / 1.107 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004669/0.8529, allocations: 39.91 kB / 1.107 GB, free: 8.359 MB / 0.7136 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.0003494/0.8532, allocations: 125.2 kB / 1.107 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005415/0.8538, allocations: 222.6 kB / 1.108 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.8538, allocations: 0 / 1.108 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.8541, allocations: 139.9 kB / 1.108 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.8545, allocations: 20.53 kB / 1.108 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007661/0.8553, allocations: 192.3 kB / 1.108 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004537/0.8557, allocations: 0.7277 MB / 1.109 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of SimCode: time 3.076e-06/0.8558, allocations: 0 / 1.109 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of Templates: time 0.007983/0.8638, allocations: 1.906 MB / 1.111 GB, free: 5.023 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)