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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 217.6 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.906/0.906, allocations: 145 MB / 458.2 MB, free: 15.33 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter") translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 70.92 kB / 0.6343 GB, free: 6.266 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1634, allocations: 87.88 MB / 0.7201 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.003126/0.1665, allocations: 1.623 MB / 0.7217 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.1678, allocations: 0.6552 MB / 0.7224 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.593e-05/0.1678, allocations: 3.938 kB / 0.7224 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.168, allocations: 19.86 kB / 0.7224 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.1683, allocations: 43.75 kB / 0.7224 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004622/0.1687, allocations: 123.7 kB / 0.7225 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.169, allocations: 187.6 kB / 0.7227 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1691, allocations: 17.61 kB / 0.7227 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.1693, allocations: 99.69 kB / 0.7228 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1695, allocations: 79.72 kB / 0.7229 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.1695, allocations: 12 kB / 0.7229 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.165e-05/0.1696, allocations: 35.98 kB / 0.7229 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.741e-05/0.1697, allocations: 27.92 kB / 0.723 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.634e-05/0.1698, allocations: 67.7 kB / 0.723 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.17, allocations: 187.2 kB / 0.7232 GB, free: 11.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.17, allocations: 0 / 0.7232 GB, free: 11.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.17, allocations: 0 / 0.7232 GB, free: 11.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.1701, allocations: 4 kB / 0.7232 GB, free: 11.2 MB / 0.545 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.0006905/0.1707, allocations: 498.6 kB / 0.7237 GB, free: 10.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1708, allocations: 11.97 kB / 0.7237 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.1709, allocations: 24.89 kB / 0.7237 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.1713, allocations: 186.4 kB / 0.7239 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.1713, allocations: 8.375 kB / 0.7239 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.1714, allocations: 12.38 kB / 0.7239 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.1717, allocations: 181 kB / 0.7241 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1717, allocations: 0 / 0.7241 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.1718, allocations: 4 kB / 0.7241 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1718, allocations: 4 kB / 0.7241 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.172, allocations: 127.3 kB / 0.7242 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006999/0.1727, allocations: 348.2 kB / 0.7246 GB, free: 9.691 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.173, allocations: 133.9 kB / 0.7247 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.1731, allocations: 128.2 kB / 0.7248 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.1732, allocations: 4 kB / 0.7248 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003206/0.1735, allocations: 242.2 kB / 0.725 GB, free: 9.121 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/0.1735, allocations: 0 / 0.725 GB, free: 9.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0008241/0.1743, allocations: 475.6 kB / 0.7255 GB, free: 8.613 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/0.1745, allocations: 170.2 kB / 0.7257 GB, free: 8.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.1747, allocations: 176.1 kB / 0.7258 GB, free: 8.227 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1747, allocations: 29.7 kB / 0.7259 GB, free: 8.191 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.309e-05/0.1748, allocations: 120.5 kB / 0.726 GB, free: 8.066 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.1748, allocations: 23.8 kB / 0.726 GB, free: 8.043 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-05/0.1749, allocations: 41.7 kB / 0.726 GB, free: 7.996 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.175, allocations: 330.8 kB / 0.7264 GB, free: 7.664 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.1753, allocations: 162.7 kB / 0.7265 GB, free: 7.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.1755, allocations: 217.6 kB / 0.7267 GB, free: 7.219 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/0.176, allocations: 312.9 kB / 0.727 GB, free: 6.852 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.176, allocations: 0 / 0.727 GB, free: 6.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006324/0.1766, allocations: 463.1 kB / 0.7275 GB, free: 6.344 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.553e-05/0.1767, allocations: 122.8 kB / 0.7276 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1767, allocations: 0 / 0.7276 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1767, allocations: 4 kB / 0.7276 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1768, allocations: 15.98 kB / 0.7276 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1769, allocations: 4 kB / 0.7276 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.177, allocations: 20.22 kB / 0.7276 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.177, allocations: 8 kB / 0.7276 GB, free: 6.148 MB / 0.545 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 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001787/0.1772, allocations: 204.3 kB / 0.7278 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.1772, allocations: 23.94 kB / 0.7278 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.894e-05/0.1772, allocations: 25.38 kB / 0.7279 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1772, allocations: 0 / 0.7279 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.1772, allocations: 0 / 0.7279 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1772, allocations: 0 / 0.7279 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007639/0.178, allocations: 0.5828 MB / 0.7284 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.178, allocations: 0 / 0.7284 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.1781, allocations: 11.98 kB / 0.7284 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1781, allocations: 0 / 0.7284 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.1781, allocations: 12 kB / 0.7285 GB, free: 5.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1781, allocations: 0 / 0.7285 GB, free: 5.207 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1781, allocations: 0 / 0.7285 GB, free: 5.207 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006776/0.1788, allocations: 477.9 kB / 0.7289 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.1788, allocations: 11.91 kB / 0.7289 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.1788, allocations: 4 kB / 0.7289 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1789, allocations: 11.98 kB / 0.7289 GB, free: 4.672 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.179, allocations: 7.984 kB / 0.7289 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.179, allocations: 12 kB / 0.729 GB, free: 4.652 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001513/0.1792, allocations: 132.1 kB / 0.7291 GB, free: 4.523 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1792, allocations: 0 / 0.7291 GB, free: 4.523 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002872/0.1794, allocations: 35.94 kB / 0.7291 GB, free: 4.488 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002503/0.1797, allocations: 128.5 kB / 0.7292 GB, free: 4.359 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006365/0.1803, allocations: 0.5192 MB / 0.7297 GB, free: 3.754 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1803, allocations: 0 / 0.7297 GB, free: 3.754 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.1806, allocations: 246.1 kB / 0.73 GB, free: 3.477 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.1809, allocations: 23.69 kB / 0.73 GB, free: 3.453 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006724/0.1816, allocations: 381.5 kB / 0.7304 GB, free: 3.031 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.1817, allocations: 97.69 kB / 0.7305 GB, free: 2.914 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.1817, allocations: 15.44 kB / 0.7305 GB, free: 2.898 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.1817, allocations: 0 / 0.7305 GB, free: 2.898 MB / 0.545 GB Notification: Performance of Templates: time 0.004536/0.1863, allocations: 2.254 MB / 0.7327 GB, free: 0.6602 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriterFunctions.cpp:5:10: fatal error: 'fileWriterStructure.h' file not found #include "fileWriterStructure.h" ^~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.882418899796903] Failed to read output from testmodel.py, exit status != 0: 0.19478778075426817 0.208756308 0.035671282000000006 Calling exit ...