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.001438/0.001438, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001645/0.001645, allocations: 195.7 kB / 16.14 MB, free: 6.66 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.019/1.019, allocations: 143 MB / 433 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001328, allocations: 59.91 kB / 0.5135 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1638, allocations: 82.04 MB / 0.5936 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002722/0.1666, allocations: 1.665 MB / 0.5952 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009308/0.1675, allocations: 0.6235 MB / 0.5958 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.718e-05/0.1676, allocations: 4 kB / 0.5959 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.1677, allocations: 15.92 kB / 0.5959 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.1679, allocations: 31.83 kB / 0.5959 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.1683, allocations: 111.8 kB / 0.596 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.1684, allocations: 155.6 kB / 0.5962 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1686, allocations: 29.08 kB / 0.5962 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.1687, allocations: 75.77 kB / 0.5963 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.1688, allocations: 83.66 kB / 0.5963 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.761e-05/0.1689, allocations: 12 kB / 0.5963 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.442e-05/0.169, allocations: 23.98 kB / 0.5964 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.042e-05/0.1691, allocations: 23.92 kB / 0.5964 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.921e-05/0.1691, allocations: 71.64 kB / 0.5965 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.1694, allocations: 159.8 kB / 0.5966 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1694, allocations: 0 / 0.5966 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1694, allocations: 0 / 0.5966 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.1694, allocations: 0 / 0.5966 GB, free: 6.984 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.0007361/0.1701, allocations: 0.5641 MB / 0.5972 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1702, allocations: 12.03 kB / 0.5972 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.011e-05/0.1703, allocations: 20.75 kB / 0.5972 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.1706, allocations: 228.1 kB / 0.5974 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.1706, allocations: 12.38 kB / 0.5974 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.1706, allocations: 12.38 kB / 0.5974 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.1709, allocations: 113.7 kB / 0.5975 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.171, allocations: 0 / 0.5975 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.171, allocations: 4 kB / 0.5975 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.171, allocations: 4 kB / 0.5976 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.1712, allocations: 71.94 kB / 0.5976 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000663/0.1719, allocations: 412.6 kB / 0.598 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.1721, allocations: 90.62 kB / 0.5981 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.1723, allocations: 84.75 kB / 0.5982 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.1723, allocations: 0 / 0.5982 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003172/0.1726, allocations: 178.7 kB / 0.5984 GB, free: 5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.1726, allocations: 0 / 0.5984 GB, free: 5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0007239/0.1734, allocations: 360.8 kB / 0.5987 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.1735, allocations: 170.2 kB / 0.5989 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.1737, allocations: 174.5 kB / 0.599 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1737, allocations: 33.7 kB / 0.5991 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.1738, allocations: 108.4 kB / 0.5992 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.1738, allocations: 19.72 kB / 0.5992 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/0.1739, allocations: 41.7 kB / 0.5992 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1741, allocations: 334.8 kB / 0.5995 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.1742, allocations: 47.97 kB / 0.5996 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.1744, allocations: 104.7 kB / 0.5997 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.1747, allocations: 320.9 kB / 0.6 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1747, allocations: 0 / 0.6 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005203/0.1753, allocations: 344 kB / 0.6003 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.747e-05/0.1754, allocations: 118.8 kB / 0.6004 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1754, allocations: 4 kB / 0.6004 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1754, allocations: 0 / 0.6004 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1755, allocations: 24.23 kB / 0.6005 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1755, allocations: 3.938 kB / 0.6005 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.897e-05/0.1756, allocations: 15.94 kB / 0.6005 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.1757, allocations: 12 kB / 0.6005 GB, free: 2.578 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.0001559/0.1758, allocations: 193.2 kB / 0.6007 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.1759, allocations: 19.81 kB / 0.6007 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.1759, allocations: 17.41 kB / 0.6007 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1759, allocations: 0 / 0.6007 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1759, allocations: 4 kB / 0.6007 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1759, allocations: 3.984 kB / 0.6007 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007087/0.1767, allocations: 0.5916 MB / 0.6013 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1767, allocations: 0 / 0.6013 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.745e-05/0.1767, allocations: 15.92 kB / 0.6013 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1768, allocations: 3.938 kB / 0.6013 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1768, allocations: 4 kB / 0.6013 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1768, allocations: 0 / 0.6013 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.1768, allocations: 15.92 kB / 0.6013 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005912/0.1774, allocations: 398.7 kB / 0.6017 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.1775, allocations: 88.92 kB / 0.6018 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.1775, allocations: 8 kB / 0.6018 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.1776, allocations: 4 kB / 0.6018 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.1777, allocations: 15.86 kB / 0.6018 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.1777, allocations: 23.98 kB / 0.6018 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000109/0.1778, allocations: 124.3 kB / 0.602 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1779, allocations: 0 / 0.602 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003049/0.1782, allocations: 36 kB / 0.602 GB, free: 0.8867 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.0003067/0.1785, allocations: 130.9 kB / 0.6021 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005848/0.1791, allocations: 361.5 kB / 0.6025 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1791, allocations: 3.938 kB / 0.6025 GB, free: 356 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.1793, allocations: 202.8 kB / 0.6027 GB, free: 128 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.1797, allocations: 19.98 kB / 0.6027 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2833/0.463, allocations: 316.8 kB / 0.603 GB, free: 44.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.4632, allocations: 0.7122 MB / 0.6037 GB, free: 43.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.429e-05/0.4633, allocations: 18.34 kB / 0.6037 GB, free: 43.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.4634, allocations: 15.09 kB / 0.6037 GB, free: 43.65 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/0.4634, allocations: 1.875 kB / 0.6037 GB, free: 43.65 MB / 0.4981 GB Notification: Performance of Templates: time 0.005842/0.4692, allocations: 2.012 MB / 0.6057 GB, free: 43.53 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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVWriter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=2 -c -o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVWriter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=2 -c -o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter_functions.o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter_functions.c:7: ./BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter_includes.h:4:10: fatal error: 'fileWriterStructure.h' file not found #include "fileWriterStructure.h" ^~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter_functions.o] Error 1