Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter") translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7166/0.7166, allocations: 127.4 MB / 134.6 MB, free: 4.074 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 188.2 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.874/1.874, allocations: 205.1 MB / 399.1 MB, free: 6.066 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 99.53 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.069e-05/1.072e-05, allocations: 0 / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1868, allocations: 76.74 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4578/0.6447, allocations: 103.8 MB / 0.7223 GB, free: 8.512 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.645, allocations: 83.94 kB / 0.7224 GB, free: 8.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.007527/0.6526, allocations: 2.239 MB / 0.7246 GB, free: 6.184 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.6526, allocations: 4 kB / 0.7246 GB, free: 6.18 MB / 490.7 MB 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.0005458/0.6532, allocations: 0.4932 MB / 0.7251 GB, free: 5.617 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.6532, allocations: 8.031 kB / 0.7251 GB, free: 5.609 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.343e-05/0.6533, allocations: 15.81 kB / 0.7251 GB, free: 5.594 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.6536, allocations: 231.4 kB / 0.7253 GB, free: 5.324 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.6536, allocations: 8 kB / 0.7253 GB, free: 5.316 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.6537, allocations: 4 kB / 0.7253 GB, free: 5.312 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001332/0.6538, allocations: 47.92 kB / 0.7254 GB, free: 5.266 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.654, allocations: 85.59 kB / 0.7254 GB, free: 5.176 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.654, allocations: 0 / 0.7254 GB, free: 5.176 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.654, allocations: 3.984 kB / 0.7254 GB, free: 5.172 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.654, allocations: 0 / 0.7254 GB, free: 5.172 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.6546, allocations: 381.1 kB / 0.7258 GB, free: 4.758 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.6548, allocations: 66.56 kB / 0.7259 GB, free: 4.684 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.6549, allocations: 56.75 kB / 0.7259 GB, free: 4.625 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.6549, allocations: 4 kB / 0.7259 GB, free: 4.621 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.6551, allocations: 149.2 kB / 0.7261 GB, free: 4.453 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.6551, allocations: 4 kB / 0.7261 GB, free: 4.449 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003564/0.6555, allocations: 137.6 kB / 0.7262 GB, free: 4.309 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.81e-05/0.6556, allocations: 170.2 kB / 0.7264 GB, free: 4.105 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.6557, allocations: 146.2 kB / 0.7265 GB, free: 3.957 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.6557, allocations: 25.7 kB / 0.7265 GB, free: 3.926 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.6558, allocations: 96.36 kB / 0.7266 GB, free: 3.828 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.6558, allocations: 31.56 kB / 0.7267 GB, free: 3.797 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/0.6559, allocations: 3.938 kB / 0.7267 GB, free: 3.793 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.656, allocations: 326.8 kB / 0.727 GB, free: 3.465 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.166e-05/0.6561, allocations: 35.98 kB / 0.727 GB, free: 3.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.6562, allocations: 86.8 kB / 0.7271 GB, free: 3.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.549e-05/0.6563, allocations: 47.97 kB / 0.7271 GB, free: 3.273 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.6563, allocations: 0 / 0.7271 GB, free: 3.273 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002571/0.6566, allocations: 149.5 kB / 0.7273 GB, free: 3.121 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.6566, allocations: 8 kB / 0.7273 GB, free: 3.113 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.6567, allocations: 4 kB / 0.7273 GB, free: 3.109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.6567, allocations: 4 kB / 0.7273 GB, free: 3.105 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.6568, allocations: 23.92 kB / 0.7273 GB, free: 3.082 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.6568, allocations: 0 / 0.7273 GB, free: 3.082 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.417e-05/0.6569, allocations: 16.03 kB / 0.7273 GB, free: 3.066 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.657, allocations: 15.98 kB / 0.7273 GB, free: 3.051 MB / 490.7 MB 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.0001346/0.6571, allocations: 168.3 kB / 0.7275 GB, free: 2.867 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.6571, allocations: 15.81 kB / 0.7275 GB, free: 2.852 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.6572, allocations: 17.39 kB / 0.7275 GB, free: 2.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.6572, allocations: 4 kB / 0.7275 GB, free: 2.836 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6572, allocations: 0 / 0.7275 GB, free: 2.836 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.6572, allocations: 0 / 0.7275 GB, free: 2.836 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.6576, allocations: 411 kB / 0.7279 GB, free: 2.391 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6577, allocations: 3.938 kB / 0.7279 GB, free: 2.387 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7e-05/0.6577, allocations: 8 kB / 0.7279 GB, free: 2.379 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.6577, allocations: 0 / 0.7279 GB, free: 2.379 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.6578, allocations: 7.984 kB / 0.728 GB, free: 2.371 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.6578, allocations: 4 kB / 0.728 GB, free: 2.367 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.6578, allocations: 0 / 0.728 GB, free: 2.367 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000292/0.6581, allocations: 243.2 kB / 0.7282 GB, free: 2.113 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.6582, allocations: 100.8 kB / 0.7283 GB, free: 1.996 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.6582, allocations: 4 kB / 0.7283 GB, free: 1.992 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.6583, allocations: 4 kB / 0.7283 GB, free: 1.988 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.6584, allocations: 7.984 kB / 0.7283 GB, free: 1.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.6584, allocations: 4 kB / 0.7283 GB, free: 1.977 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001212/0.6586, allocations: 131.5 kB / 0.7284 GB, free: 1.848 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00029/0.6589, allocations: 31.84 kB / 0.7285 GB, free: 1.816 MB / 490.7 MB 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.0003837/0.6593, allocations: 129.4 kB / 0.7286 GB, free: 1.688 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003533/0.6596, allocations: 211 kB / 0.7288 GB, free: 1.457 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6596, allocations: 0 / 0.7288 GB, free: 1.457 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.6598, allocations: 127.3 kB / 0.7289 GB, free: 1.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.66, allocations: 4 kB / 0.7289 GB, free: 1.316 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.6606, allocations: 171.2 kB / 0.7291 GB, free: 1.129 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004156/0.661, allocations: 0.727 MB / 0.7298 GB, free: 384 kB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.661, allocations: 4.188 kB / 0.7298 GB, free: 380 kB / 490.7 MB Notification: Performance of Templates: time 0.004904/0.6659, allocations: 1.585 MB / 0.7313 GB, free: 14.8 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVWriter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=2 -c -o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.c clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVWriter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=2 -c -o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter_functions.o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter_functions.c:6: ./BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter_includes.h:4:10: fatal error: 'fileWriterStructure.h' file not found #include "fileWriterStructure.h" ^~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter_functions.o] Error 1