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.005735/0.005735, allocations: 101.1 kB / 15.88 MB, free: 6.324 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.00137/0.00137, allocations: 193.4 kB / 16.79 MB, free: 6.254 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.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.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 1.011/1.011, allocations: 143 MB / 433.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.88 kB / 0.5142 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1651, allocations: 82.03 MB / 0.5943 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002998/0.1681, allocations: 1.661 MB / 0.5959 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1692, allocations: 0.6274 MB / 0.5965 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.91e-05/0.1692, allocations: 4 kB / 0.5965 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.1694, allocations: 19.86 kB / 0.5965 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.1696, allocations: 31.83 kB / 0.5966 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.1699, allocations: 103.8 kB / 0.5967 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1701, allocations: 159.6 kB / 0.5968 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1702, allocations: 25.11 kB / 0.5968 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1704, allocations: 83.69 kB / 0.5969 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.1705, allocations: 79.72 kB / 0.597 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.1706, allocations: 8 kB / 0.597 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.685e-05/0.1706, allocations: 23.94 kB / 0.597 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.767e-05/0.1707, allocations: 31.91 kB / 0.597 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.597e-05/0.1708, allocations: 67.66 kB / 0.5971 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.171, allocations: 120 kB / 0.5972 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.171, allocations: 0 / 0.5972 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.62e-07/0.171, allocations: 0 / 0.5972 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.171, allocations: 0 / 0.5972 GB, free: 7.016 MB / 0.4981 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.0007249/0.1718, allocations: 0.5631 MB / 0.5978 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1718, allocations: 12.03 kB / 0.5978 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.277e-05/0.1719, allocations: 20.75 kB / 0.5978 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.1722, allocations: 232.7 kB / 0.598 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.1722, allocations: 8.375 kB / 0.598 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.1722, allocations: 12.38 kB / 0.5981 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.1725, allocations: 117.7 kB / 0.5982 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1725, allocations: 0 / 0.5982 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.1726, allocations: 8 kB / 0.5982 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.1726, allocations: 0 / 0.5982 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.1728, allocations: 63.95 kB / 0.5982 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000633/0.1734, allocations: 424.6 kB / 0.5986 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.1736, allocations: 86.53 kB / 0.5987 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.1738, allocations: 80.81 kB / 0.5988 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.1738, allocations: 0 / 0.5988 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000321/0.1741, allocations: 174.7 kB / 0.599 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 3.937e-06/0.1741, allocations: 3.984 kB / 0.599 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0007461/0.1749, allocations: 352.9 kB / 0.5993 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.445e-05/0.175, allocations: 170.5 kB / 0.5995 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.1752, allocations: 178.5 kB / 0.5996 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1752, allocations: 29.7 kB / 0.5997 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.1753, allocations: 120.2 kB / 0.5998 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.1753, allocations: 15.72 kB / 0.5998 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.048e-05/0.1754, allocations: 45.7 kB / 0.5998 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1755, allocations: 326.8 kB / 0.6001 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.1757, allocations: 55.89 kB / 0.6002 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.1758, allocations: 102.8 kB / 0.6003 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.1762, allocations: 312.9 kB / 0.6006 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1762, allocations: 4 kB / 0.6006 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000532/0.1767, allocations: 348.1 kB / 0.6009 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.313e-05/0.1768, allocations: 118.8 kB / 0.601 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1768, allocations: 4 kB / 0.6011 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1768, allocations: 0 / 0.6011 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.177, allocations: 23.92 kB / 0.6011 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.177, allocations: 0 / 0.6011 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.684e-05/0.1771, allocations: 16.19 kB / 0.6011 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.1771, allocations: 8 kB / 0.6011 GB, free: 2.617 MB / 0.4981 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.0001592/0.1773, allocations: 205.7 kB / 0.6013 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.1773, allocations: 19.81 kB / 0.6013 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.629e-05/0.1774, allocations: 9.406 kB / 0.6013 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1774, allocations: 8 kB / 0.6013 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1774, allocations: 0 / 0.6013 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1774, allocations: 0 / 0.6013 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007143/0.1781, allocations: 0.5952 MB / 0.6019 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1781, allocations: 0 / 0.6019 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.541e-05/0.1782, allocations: 11.98 kB / 0.6019 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1782, allocations: 0 / 0.6019 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.1782, allocations: 8 kB / 0.6019 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1782, allocations: 0 / 0.6019 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1782, allocations: 7.938 kB / 0.6019 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005423/0.1788, allocations: 406.7 kB / 0.6023 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.1788, allocations: 92.86 kB / 0.6024 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.1789, allocations: 4 kB / 0.6024 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.179, allocations: 4 kB / 0.6024 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.1791, allocations: 15.92 kB / 0.6024 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.1791, allocations: 8 kB / 0.6024 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001058/0.1792, allocations: 132.3 kB / 0.6026 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1792, allocations: 7.938 kB / 0.6026 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002927/0.1795, allocations: 32 kB / 0.6026 GB, free: 0.9258 MB / 0.4981 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.0002375/0.1797, allocations: 127.3 kB / 0.6027 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004925/0.1802, allocations: 369.5 kB / 0.6031 GB, free: 396 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1803, allocations: 0 / 0.6031 GB, free: 396 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.1805, allocations: 202.8 kB / 0.6033 GB, free: 168 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.1808, allocations: 22.75 kB / 0.6033 GB, free: 148 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2381/0.4189, allocations: 345 kB / 0.6036 GB, free: 44.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.4191, allocations: 0.707 MB / 0.6043 GB, free: 43.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.4192, allocations: 18.38 kB / 0.6043 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.4192, allocations: 0.75 kB / 0.6043 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.003534/0.4227, allocations: 2.183 MB / 0.6065 GB, free: 43.44 MB / 0.4981 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++14 -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