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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 106.4 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 184.2 kB / 17.34 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.9786/0.9786, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 73.55 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1709, allocations: 82.03 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.003267/0.1741, allocations: 1.606 MB / 0.6779 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.1752, allocations: 0.6311 MB / 0.6785 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.14e-05/0.1753, allocations: 4 kB / 0.6785 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.1755, allocations: 15.8 kB / 0.6785 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.1757, allocations: 51.75 kB / 0.6786 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.1761, allocations: 103.8 kB / 0.6787 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000273/0.1764, allocations: 183.6 kB / 0.6789 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1765, allocations: 17.11 kB / 0.6789 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.1766, allocations: 87.75 kB / 0.679 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.1768, allocations: 87.72 kB / 0.679 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.722e-05/0.1768, allocations: 12 kB / 0.6791 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-05/0.1769, allocations: 28 kB / 0.6791 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.481e-05/0.177, allocations: 39.83 kB / 0.6791 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.1771, allocations: 67.72 kB / 0.6792 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.1774, allocations: 175.3 kB / 0.6793 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1774, allocations: 0 / 0.6793 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1774, allocations: 0 / 0.6793 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.1774, allocations: 0 / 0.6793 GB, free: 7.223 MB / 0.5137 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.0008055/0.1782, allocations: 0.5678 MB / 0.6799 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1782, allocations: 8.031 kB / 0.6799 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.499e-05/0.1783, allocations: 24.78 kB / 0.6799 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.1787, allocations: 241 kB / 0.6802 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.1787, allocations: 8.375 kB / 0.6802 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.1787, allocations: 16.36 kB / 0.6802 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.179, allocations: 113.8 kB / 0.6803 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.179, allocations: 11.88 kB / 0.6803 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.179, allocations: 0 / 0.6803 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.179, allocations: 7.984 kB / 0.6803 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.1793, allocations: 63.95 kB / 0.6804 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006955/0.1799, allocations: 420.5 kB / 0.6808 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.1801, allocations: 82.53 kB / 0.6809 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.1803, allocations: 68.81 kB / 0.6809 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.1803, allocations: 3.938 kB / 0.6809 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002791/0.1806, allocations: 178.7 kB / 0.6811 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.1806, allocations: 0 / 0.6811 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0007923/0.1814, allocations: 361 kB / 0.6814 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.1815, allocations: 170.2 kB / 0.6816 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.1817, allocations: 175.4 kB / 0.6818 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.1817, allocations: 29.7 kB / 0.6818 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.1818, allocations: 108.3 kB / 0.6819 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.1819, allocations: 27.8 kB / 0.6819 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.858e-05/0.1819, allocations: 41.7 kB / 0.682 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1821, allocations: 338.7 kB / 0.6823 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.1822, allocations: 51.95 kB / 0.6823 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.1824, allocations: 98.08 kB / 0.6824 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.1828, allocations: 312.9 kB / 0.6827 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.1828, allocations: 7.984 kB / 0.6827 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005782/0.1834, allocations: 340.2 kB / 0.6831 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.403e-05/0.1835, allocations: 118.8 kB / 0.6832 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1835, allocations: 4 kB / 0.6832 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1835, allocations: 0 / 0.6832 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.1836, allocations: 24.17 kB / 0.6832 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1836, allocations: 4 kB / 0.6832 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.1838, allocations: 19.88 kB / 0.6832 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.1838, allocations: 8 kB / 0.6832 GB, free: 2.805 MB / 0.5137 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.0001853/0.184, allocations: 206.2 kB / 0.6834 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.184, allocations: 15.91 kB / 0.6834 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.1841, allocations: 17.39 kB / 0.6835 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1841, allocations: 7.938 kB / 0.6835 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1841, allocations: 4 kB / 0.6835 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.1841, allocations: 0 / 0.6835 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000832/0.1849, allocations: 0.5914 MB / 0.6841 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.1849, allocations: 0 / 0.6841 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-05/0.185, allocations: 11.98 kB / 0.6841 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.185, allocations: 4 kB / 0.6841 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.185, allocations: 4 kB / 0.6841 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.185, allocations: 0 / 0.6841 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.185, allocations: 7.938 kB / 0.6841 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.1856, allocations: 402.7 kB / 0.6845 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-05/0.1857, allocations: 96.94 kB / 0.6846 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.1857, allocations: 8 kB / 0.6846 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.1858, allocations: 8 kB / 0.6846 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.1859, allocations: 11.92 kB / 0.6846 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.1859, allocations: 12 kB / 0.6846 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001269/0.186, allocations: 131.5 kB / 0.6847 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.186, allocations: 0 / 0.6847 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002967/0.1863, allocations: 36 kB / 0.6848 GB, free: 1.105 MB / 0.5137 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.0002635/0.1866, allocations: 129.9 kB / 0.6849 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005659/0.1872, allocations: 361.6 kB / 0.6852 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1872, allocations: 0 / 0.6852 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002567/0.1874, allocations: 186.7 kB / 0.6854 GB, free: 372 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.1877, allocations: 16 kB / 0.6854 GB, free: 356 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006967/0.1884, allocations: 333.9 kB / 0.6857 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.1888, allocations: 0.708 MB / 0.6864 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.1888, allocations: 15.42 kB / 0.6864 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of SimCode: time 7.92e-07/0.1888, allocations: 0 / 0.6864 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of Templates: time 0.004541/0.1934, allocations: 2.2 MB / 0.6886 GB, free: 13.05 MB / 0.5294 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++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -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