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.001179/0.001179, allocations: 105.8 kB / 16.41 MB, free: 6.504 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.001172/0.001172, 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.222/1.222, 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.8151/0.8151, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 65.31 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1295, allocations: 82.03 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002796/0.1323, allocations: 1.606 MB / 0.6779 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009233/0.1333, allocations: 0.6155 MB / 0.6785 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.647e-05/0.1334, allocations: 0 / 0.6785 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.1335, allocations: 23.8 kB / 0.6785 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.1337, allocations: 39.77 kB / 0.6785 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.1341, allocations: 123.7 kB / 0.6786 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.1344, allocations: 195.6 kB / 0.6788 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1345, allocations: 29.09 kB / 0.6789 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.1347, allocations: 79.81 kB / 0.6789 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.1348, allocations: 83.72 kB / 0.679 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.1348, allocations: 16 kB / 0.679 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.207e-05/0.1349, allocations: 27.98 kB / 0.6791 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.887e-05/0.135, allocations: 31.86 kB / 0.6791 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.729e-05/0.1351, allocations: 71.7 kB / 0.6792 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.1353, allocations: 179.4 kB / 0.6793 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1354, allocations: 0 / 0.6793 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1354, allocations: 0 / 0.6793 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1354, allocations: 4 kB / 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.0006557/0.136, allocations: 0.5552 MB / 0.6799 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1361, allocations: 12.03 kB / 0.6799 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.572e-05/0.1361, allocations: 16.75 kB / 0.6799 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.1365, allocations: 241 kB / 0.6801 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1365, allocations: 8.375 kB / 0.6801 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.1366, allocations: 20.38 kB / 0.6802 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.1368, allocations: 117.7 kB / 0.6803 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1369, allocations: 0 / 0.6803 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.1369, allocations: 8 kB / 0.6803 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.1369, allocations: 0 / 0.6803 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.1371, allocations: 63.95 kB / 0.6803 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006307/0.1377, allocations: 432.4 kB / 0.6808 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1379, allocations: 86.53 kB / 0.6808 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.1381, allocations: 76.81 kB / 0.6809 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.1381, allocations: 0 / 0.6809 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002328/0.1383, allocations: 186.9 kB / 0.6811 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.1383, allocations: 0 / 0.6811 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0006695/0.139, allocations: 352.6 kB / 0.6814 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/0.1391, allocations: 166.2 kB / 0.6816 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1392, allocations: 171.5 kB / 0.6817 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1393, allocations: 29.7 kB / 0.6818 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.1393, allocations: 116.3 kB / 0.6819 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.1394, allocations: 27.64 kB / 0.6819 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-05/0.1394, allocations: 45.7 kB / 0.682 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.1396, allocations: 326.8 kB / 0.6823 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.1397, allocations: 51.95 kB / 0.6823 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.1398, allocations: 106.8 kB / 0.6824 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.1402, allocations: 316.9 kB / 0.6827 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1402, allocations: 4 kB / 0.6827 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004939/0.1407, allocations: 344 kB / 0.6831 GB, free: 3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.709e-05/0.1408, allocations: 119 kB / 0.6832 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1408, allocations: 8 kB / 0.6832 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1408, allocations: 4 kB / 0.6832 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1409, allocations: 15.98 kB / 0.6832 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1409, allocations: 0 / 0.6832 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.199e-05/0.141, allocations: 12 kB / 0.6832 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.141, allocations: 8 kB / 0.6832 GB, free: 2.812 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.0001488/0.1412, allocations: 201.9 kB / 0.6834 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.1412, allocations: 19.81 kB / 0.6834 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.1413, allocations: 17.41 kB / 0.6834 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1413, allocations: 0 / 0.6834 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1413, allocations: 3.984 kB / 0.6834 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1413, allocations: 288 / 0.6834 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006615/0.142, allocations: 0.5914 MB / 0.684 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.142, allocations: 0 / 0.684 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.223e-05/0.142, allocations: 11.98 kB / 0.684 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.142, allocations: 0 / 0.684 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1421, allocations: 12 kB / 0.684 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1421, allocations: 0 / 0.684 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1421, allocations: 7.938 kB / 0.6841 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.1426, allocations: 406.5 kB / 0.6844 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.1427, allocations: 92.91 kB / 0.6845 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.1427, allocations: 4 kB / 0.6845 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1428, allocations: 8 kB / 0.6845 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.1429, allocations: 15.92 kB / 0.6846 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1429, allocations: 8 kB / 0.6846 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.739e-05/0.143, allocations: 131.5 kB / 0.6847 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.143, allocations: 0 / 0.6847 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002758/0.1433, allocations: 36 kB / 0.6847 GB, free: 1.121 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.0002082/0.1435, allocations: 132.7 kB / 0.6848 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004505/0.1439, allocations: 357.5 kB / 0.6852 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1439, allocations: 0 / 0.6852 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.1442, allocations: 210.7 kB / 0.6854 GB, free: 368 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.1445, allocations: 24.5 kB / 0.6854 GB, free: 344 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005976/0.1451, allocations: 322 kB / 0.6857 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.1453, allocations: 0.7041 MB / 0.6864 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.1454, allocations: 15.42 kB / 0.6864 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.1454, allocations: 0 / 0.6864 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of Templates: time 0.003732/0.1491, allocations: 2.198 MB / 0.6886 GB, free: 13.06 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