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.001653/0.001653, allocations: 106.7 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.001915/0.001915, allocations: 187 kB / 17.34 MB, free: 5.742 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.15 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.8583/0.8583, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 68.89 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1603, allocations: 82.04 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002965/0.1633, allocations: 1.605 MB / 0.6779 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1644, allocations: 0.6194 MB / 0.6785 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.193e-05/0.1645, allocations: 0 / 0.6785 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.1646, allocations: 23.8 kB / 0.6785 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.1649, allocations: 39.75 kB / 0.6785 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.1653, allocations: 115.8 kB / 0.6786 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.1656, allocations: 195.6 kB / 0.6788 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1657, allocations: 29.09 kB / 0.6789 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.1659, allocations: 87.73 kB / 0.6789 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.1661, allocations: 83.72 kB / 0.679 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.337e-05/0.1661, allocations: 20 kB / 0.679 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.609e-05/0.1662, allocations: 24 kB / 0.6791 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.785e-05/0.1663, allocations: 39.78 kB / 0.6791 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.986e-05/0.1664, allocations: 67.72 kB / 0.6792 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.1667, allocations: 179.4 kB / 0.6793 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1667, allocations: 0 / 0.6793 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1667, allocations: 0 / 0.6793 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.1667, allocations: 0 / 0.6793 GB, free: 7.238 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.0007122/0.1674, allocations: 0.5512 MB / 0.6799 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1675, allocations: 16.03 kB / 0.6799 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.288e-05/0.1675, allocations: 20.69 kB / 0.6799 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.1679, allocations: 245 kB / 0.6801 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1679, allocations: 8.375 kB / 0.6802 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.168, allocations: 16.38 kB / 0.6802 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.1683, allocations: 109.7 kB / 0.6803 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1683, allocations: 3.938 kB / 0.6803 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.1683, allocations: 12 kB / 0.6803 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1683, allocations: 0 / 0.6803 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.1685, allocations: 67.94 kB / 0.6804 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.1692, allocations: 424.4 kB / 0.6808 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.1694, allocations: 90.53 kB / 0.6808 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.1696, allocations: 72.81 kB / 0.6809 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.1696, allocations: 4 kB / 0.6809 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00032/0.1699, allocations: 174.7 kB / 0.6811 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.983e-06/0.1699, allocations: 0 / 0.6811 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0007827/0.1707, allocations: 356.9 kB / 0.6814 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.79e-05/0.1708, allocations: 170.1 kB / 0.6816 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.171, allocations: 171.8 kB / 0.6818 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.171, allocations: 29.7 kB / 0.6818 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/0.1711, allocations: 112.3 kB / 0.6819 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.1712, allocations: 27.59 kB / 0.6819 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.361e-05/0.1712, allocations: 45.7 kB / 0.682 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1714, allocations: 334.7 kB / 0.6823 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1715, allocations: 51.97 kB / 0.6823 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.1717, allocations: 102.8 kB / 0.6824 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.172, allocations: 312.9 kB / 0.6827 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.172, allocations: 4 kB / 0.6827 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005393/0.1726, allocations: 344.1 kB / 0.6831 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.006e-05/0.1727, allocations: 114.8 kB / 0.6832 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.475e-06/0.1727, allocations: 4 kB / 0.6832 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1727, allocations: 4 kB / 0.6832 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1728, allocations: 28.17 kB / 0.6832 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1729, allocations: 4 kB / 0.6832 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.173, allocations: 12 kB / 0.6832 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.173, allocations: 8 kB / 0.6832 GB, free: 2.824 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.0001628/0.1732, allocations: 201.7 kB / 0.6834 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.1732, allocations: 19.81 kB / 0.6834 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.1732, allocations: 13.41 kB / 0.6834 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1733, allocations: 0 / 0.6834 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1733, allocations: 0 / 0.6834 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.1733, allocations: 4 kB / 0.6834 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007086/0.174, allocations: 0.5875 MB / 0.684 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.174, allocations: 0 / 0.684 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.803e-05/0.1741, allocations: 11.98 kB / 0.684 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1741, allocations: 3.984 kB / 0.684 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.1741, allocations: 11.98 kB / 0.684 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1741, allocations: 0 / 0.684 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1741, allocations: 7.938 kB / 0.6841 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005549/0.1747, allocations: 410.5 kB / 0.6844 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.1747, allocations: 88.92 kB / 0.6845 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.1748, allocations: 7.938 kB / 0.6845 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.1749, allocations: 4 kB / 0.6845 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.175, allocations: 15.92 kB / 0.6846 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.175, allocations: 8 kB / 0.6846 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001131/0.1751, allocations: 135.5 kB / 0.6847 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1751, allocations: 0 / 0.6847 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002946/0.1754, allocations: 32 kB / 0.6847 GB, free: 1.137 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.0002369/0.1756, allocations: 125.4 kB / 0.6848 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004895/0.1761, allocations: 365.4 kB / 0.6852 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1762, allocations: 0 / 0.6852 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.1764, allocations: 206.8 kB / 0.6854 GB, free: 388 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.1767, allocations: 16 kB / 0.6854 GB, free: 372 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006293/0.1774, allocations: 318.3 kB / 0.6857 GB, free: 24 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.1777, allocations: 0.7196 MB / 0.6864 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.1777, allocations: 15.44 kB / 0.6864 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.1777, allocations: 0 / 0.6864 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of Templates: time 0.004241/0.182, allocations: 2.196 MB / 0.6886 GB, free: 13.08 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