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.0009686/0.0009689, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00786/0.00786, allocations: 169.3 kB / 16.26 MB, free: 6.676 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.5/1.5, allocations: 223.3 MB / 240.3 MB, free: 5.309 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.036/1.036, allocations: 143.2 MB / 434.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 12 kB / 0.5164 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1731, allocations: 83.41 MB / 0.5978 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002064/0.1752, allocations: 1.326 MB / 0.5991 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009911/0.1762, allocations: 0.608 MB / 0.5997 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.236e-05/0.1763, allocations: 4 kB / 0.5997 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.1765, allocations: 19.86 kB / 0.5998 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.1767, allocations: 35.83 kB / 0.5998 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.177, allocations: 99.89 kB / 0.5999 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000178/0.1772, allocations: 163.6 kB / 0.6 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1773, allocations: 25.09 kB / 0.6001 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.1775, allocations: 79.77 kB / 0.6001 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1776, allocations: 83.66 kB / 0.6002 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.1776, allocations: 4 kB / 0.6002 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.379e-05/0.1777, allocations: 19.98 kB / 0.6002 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.524e-05/0.1778, allocations: 23.92 kB / 0.6003 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.605e-05/0.1779, allocations: 97.34 kB / 0.6004 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.1781, allocations: 151.8 kB / 0.6005 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1781, allocations: 3.984 kB / 0.6005 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1781, allocations: 0 / 0.6005 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1781, allocations: 0 / 0.6005 GB, free: 4.891 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.0006225/0.1788, allocations: 0.5251 MB / 0.601 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1788, allocations: 8.031 kB / 0.601 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.1789, allocations: 20.75 kB / 0.601 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.1792, allocations: 240.1 kB / 0.6013 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1792, allocations: 8.375 kB / 0.6013 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.1792, allocations: 16.38 kB / 0.6013 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.1795, allocations: 117.7 kB / 0.6014 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1795, allocations: 0 / 0.6014 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.1795, allocations: 7.938 kB / 0.6014 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.1795, allocations: 0 / 0.6014 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.1797, allocations: 79.89 kB / 0.6015 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00065/0.1804, allocations: 432.6 kB / 0.6019 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.1806, allocations: 90.53 kB / 0.602 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.1808, allocations: 80.81 kB / 0.6021 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.1808, allocations: 0 / 0.6021 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002897/0.1811, allocations: 182.7 kB / 0.6022 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.1811, allocations: 0 / 0.6022 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0007153/0.1818, allocations: 368.9 kB / 0.6026 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.92e-05/0.1819, allocations: 166.2 kB / 0.6028 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.1821, allocations: 182.6 kB / 0.6029 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.1821, allocations: 29.7 kB / 0.603 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.1822, allocations: 112.3 kB / 0.6031 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.1822, allocations: 19.72 kB / 0.6031 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.1823, allocations: 25.7 kB / 0.6031 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1824, allocations: 330.8 kB / 0.6034 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1825, allocations: 55.91 kB / 0.6035 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.1827, allocations: 104.8 kB / 0.6036 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.1831, allocations: 324.9 kB / 0.6039 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1831, allocations: 0 / 0.6039 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005328/0.1836, allocations: 348.3 kB / 0.6042 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.227e-05/0.1837, allocations: 126.8 kB / 0.6043 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1837, allocations: 0 / 0.6043 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1837, allocations: 4 kB / 0.6043 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.1839, allocations: 23.92 kB / 0.6044 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1839, allocations: 0 / 0.6044 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.184, allocations: 19.94 kB / 0.6044 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.184, allocations: 15.97 kB / 0.6044 GB, free: 472 kB / 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.0001555/0.1842, allocations: 206.5 kB / 0.6046 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.1842, allocations: 19.8 kB / 0.6046 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/0.1843, allocations: 17.39 kB / 0.6046 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1843, allocations: 288 / 0.6046 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1843, allocations: 0 / 0.6046 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1843, allocations: 4 kB / 0.6046 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3636/0.5478, allocations: 0.587 MB / 0.6052 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5479, allocations: 0 / 0.6052 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.915e-05/0.548, allocations: 17.98 kB / 0.6052 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.548, allocations: 0 / 0.6052 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.548, allocations: 8.828 kB / 0.6052 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.548, allocations: 1.594 kB / 0.6052 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5481, allocations: 3.75 kB / 0.6052 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/0.5486, allocations: 420 kB / 0.6056 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.5486, allocations: 91.77 kB / 0.6057 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.5487, allocations: 3.125 kB / 0.6057 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.5488, allocations: 18.95 kB / 0.6058 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.5489, allocations: 7.203 kB / 0.6058 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.5489, allocations: 10.38 kB / 0.6058 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.567e-05/0.549, allocations: 126.9 kB / 0.6059 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.549, allocations: 1.156 kB / 0.6059 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003458/0.5493, allocations: 34 kB / 0.6059 GB, free: 40.46 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.0002467/0.5496, allocations: 127 kB / 0.606 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004243/0.55, allocations: 369.5 kB / 0.6064 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.55, allocations: 1.984 kB / 0.6064 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.5502, allocations: 210.8 kB / 0.6066 GB, free: 40 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.5506, allocations: 25.67 kB / 0.6066 GB, free: 40 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/0.5511, allocations: 325.7 kB / 0.6069 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.5513, allocations: 0.7141 MB / 0.6076 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.278e-05/0.5513, allocations: 20.97 kB / 0.6077 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.5514, allocations: 13 kB / 0.6077 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.5514, allocations: 0 / 0.6077 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.004876/0.5563, allocations: 2.01 MB / 0.6096 GB, free: 38.95 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