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.0008361/0.0008361, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009384/0.0009384, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.419/1.419, allocations: 223.3 MB / 241 MB, free: 5.277 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.002/1.002, allocations: 143.2 MB / 435.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 8 kB / 0.5171 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1502, allocations: 83.4 MB / 0.5985 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.001765/0.152, allocations: 1.33 MB / 0.5998 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009407/0.153, allocations: 0.6081 MB / 0.6004 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.913e-05/0.153, allocations: 3.938 kB / 0.6004 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.1532, allocations: 11.92 kB / 0.6004 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.1534, allocations: 39.83 kB / 0.6005 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.1537, allocations: 99.83 kB / 0.6005 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1539, allocations: 163.6 kB / 0.6007 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.154, allocations: 25.12 kB / 0.6007 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1542, allocations: 71.81 kB / 0.6008 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.1543, allocations: 83.66 kB / 0.6009 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.1544, allocations: 11.94 kB / 0.6009 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.683e-05/0.1544, allocations: 16 kB / 0.6009 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.094e-05/0.1545, allocations: 19.92 kB / 0.6009 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.504e-05/0.1546, allocations: 101.3 kB / 0.601 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.1548, allocations: 116 kB / 0.6011 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1548, allocations: 0 / 0.6011 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.1548, allocations: 0 / 0.6011 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.1548, allocations: 0 / 0.6011 GB, free: 4.953 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.0006082/0.1554, allocations: 0.5275 MB / 0.6016 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1554, allocations: 8.031 kB / 0.6017 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.1555, allocations: 24.75 kB / 0.6017 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.1558, allocations: 240.1 kB / 0.6019 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1558, allocations: 12.38 kB / 0.6019 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.1559, allocations: 12.38 kB / 0.6019 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.1561, allocations: 125.7 kB / 0.602 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1562, allocations: 0 / 0.602 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.1562, allocations: 7.938 kB / 0.6021 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1562, allocations: 0 / 0.6021 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.1564, allocations: 79.95 kB / 0.6021 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006276/0.157, allocations: 424.6 kB / 0.6025 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.1572, allocations: 90.53 kB / 0.6026 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.1574, allocations: 80.81 kB / 0.6027 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.1574, allocations: 0 / 0.6027 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002879/0.1577, allocations: 186.8 kB / 0.6029 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.1577, allocations: 0 / 0.6029 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0007399/0.1585, allocations: 368.8 kB / 0.6032 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.028e-05/0.1586, allocations: 170.2 kB / 0.6034 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.1587, allocations: 170.6 kB / 0.6036 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.1588, allocations: 33.7 kB / 0.6036 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.1589, allocations: 112.3 kB / 0.6037 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.1589, allocations: 19.72 kB / 0.6037 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.1589, allocations: 21.72 kB / 0.6037 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1591, allocations: 334.8 kB / 0.6041 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.1592, allocations: 51.97 kB / 0.6041 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.1594, allocations: 106.8 kB / 0.6042 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.1598, allocations: 320.9 kB / 0.6045 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1598, allocations: 4 kB / 0.6045 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005304/0.1603, allocations: 356 kB / 0.6049 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.944e-05/0.1604, allocations: 120.4 kB / 0.605 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1604, allocations: 4 kB / 0.605 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1604, allocations: 0 / 0.605 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1605, allocations: 23.92 kB / 0.605 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.1605, allocations: 4.25 kB / 0.605 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.718e-05/0.1607, allocations: 15.94 kB / 0.605 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.1607, allocations: 15.98 kB / 0.605 GB, free: 0.5195 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.000144/0.1608, allocations: 198.5 kB / 0.6052 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.1609, allocations: 16.09 kB / 0.6052 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.1609, allocations: 13.41 kB / 0.6052 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1609, allocations: 4 kB / 0.6052 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.161, allocations: 3.938 kB / 0.6053 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.161, allocations: 3.984 kB / 0.6053 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2708/0.4318, allocations: 0.59 MB / 0.6058 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4318, allocations: 3.375 kB / 0.6058 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.828e-05/0.4319, allocations: 14.36 kB / 0.6058 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.4319, allocations: 0 / 0.6058 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.432, allocations: 11.34 kB / 0.6059 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.432, allocations: 4.734 kB / 0.6059 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.432, allocations: 0 / 0.6059 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005552/0.4325, allocations: 412.9 kB / 0.6063 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.4326, allocations: 93.88 kB / 0.6063 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.4326, allocations: 8.094 kB / 0.6064 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.4328, allocations: 12.27 kB / 0.6064 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.4328, allocations: 10.94 kB / 0.6064 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.4328, allocations: 11.3 kB / 0.6064 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.022e-05/0.4329, allocations: 127.9 kB / 0.6065 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.433, allocations: 3.219 kB / 0.6065 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003383/0.4333, allocations: 35.31 kB / 0.6065 GB, free: 40.55 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.0002287/0.4335, allocations: 128.3 kB / 0.6067 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004652/0.434, allocations: 373.8 kB / 0.607 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.434, allocations: 2.297 kB / 0.607 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.4342, allocations: 210.1 kB / 0.6072 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.4346, allocations: 18.77 kB / 0.6072 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005757/0.4352, allocations: 355.6 kB / 0.6076 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.4353, allocations: 0.7111 MB / 0.6083 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.4354, allocations: 13.19 kB / 0.6083 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.4354, allocations: 0 / 0.6083 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of Templates: time 0.003769/0.4391, allocations: 2.174 MB / 0.6104 GB, free: 39.02 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