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.001146/0.001146, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001229/0.001229, allocations: 192 kB / 16.25 MB, free: 6.625 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.31/1.31, allocations: 222.9 MB / 239.9 MB, free: 4.492 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 0.9823/0.9823, allocations: 143 MB / 433.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.91 kB / 0.5137 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1703, allocations: 82.04 MB / 0.5938 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002717/0.1731, allocations: 1.661 MB / 0.5954 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008956/0.174, allocations: 0.604 MB / 0.596 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.754e-05/0.1741, allocations: 0 / 0.596 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.1743, allocations: 11.88 kB / 0.596 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.1745, allocations: 39.83 kB / 0.596 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.1748, allocations: 103.8 kB / 0.5961 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.1751, allocations: 195.6 kB / 0.5963 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1752, allocations: 33.09 kB / 0.5964 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.1753, allocations: 91.75 kB / 0.5965 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1755, allocations: 87.66 kB / 0.5965 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.1755, allocations: 12 kB / 0.5965 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.657e-05/0.1756, allocations: 28 kB / 0.5966 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.72e-05/0.1757, allocations: 27.92 kB / 0.5966 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.584e-05/0.1758, allocations: 79.64 kB / 0.5967 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.176, allocations: 167.8 kB / 0.5968 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.176, allocations: 3.938 kB / 0.5968 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.176, allocations: 0 / 0.5968 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.176, allocations: 0 / 0.5968 GB, free: 6.855 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.0006738/0.1767, allocations: 0.564 MB / 0.5974 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1768, allocations: 11.97 kB / 0.5974 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.478e-05/0.1768, allocations: 20.75 kB / 0.5974 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.1771, allocations: 232.7 kB / 0.5976 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1771, allocations: 8.375 kB / 0.5977 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.1772, allocations: 12.38 kB / 0.5977 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.1775, allocations: 117.7 kB / 0.5978 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1775, allocations: 0 / 0.5978 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.1775, allocations: 8 kB / 0.5978 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1775, allocations: 0 / 0.5978 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.1777, allocations: 71.94 kB / 0.5979 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006044/0.1784, allocations: 412.6 kB / 0.5982 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1785, allocations: 86.53 kB / 0.5983 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.1787, allocations: 76.81 kB / 0.5984 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.1787, allocations: 160 / 0.5984 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.179, allocations: 182.8 kB / 0.5986 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.179, allocations: 0 / 0.5986 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0006877/0.1797, allocations: 360.7 kB / 0.5989 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/0.1798, allocations: 166.2 kB / 0.5991 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.18, allocations: 182.5 kB / 0.5993 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.18, allocations: 25.7 kB / 0.5993 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.1801, allocations: 108.4 kB / 0.5994 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.1801, allocations: 23.7 kB / 0.5994 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.1802, allocations: 45.7 kB / 0.5994 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1803, allocations: 334.8 kB / 0.5998 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.1804, allocations: 47.97 kB / 0.5998 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.1806, allocations: 99.11 kB / 0.5999 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.1809, allocations: 316.9 kB / 0.6002 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1809, allocations: 0 / 0.6002 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004964/0.1814, allocations: 344 kB / 0.6005 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.1815, allocations: 122.7 kB / 0.6007 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1815, allocations: 4 kB / 0.6007 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1815, allocations: 8.25 kB / 0.6007 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1816, allocations: 15.98 kB / 0.6007 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1817, allocations: 0 / 0.6007 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.1818, allocations: 19.94 kB / 0.6007 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.1818, allocations: 11.98 kB / 0.6007 GB, free: 2.453 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.0001426/0.1819, allocations: 197.7 kB / 0.6009 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.182, allocations: 19.81 kB / 0.6009 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.182, allocations: 13.41 kB / 0.6009 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.182, allocations: 4 kB / 0.6009 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.182, allocations: 0 / 0.6009 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1821, allocations: 7.969 kB / 0.6009 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006597/0.1827, allocations: 0.5874 MB / 0.6015 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1827, allocations: 0 / 0.6015 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.717e-05/0.1828, allocations: 11.98 kB / 0.6015 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1828, allocations: 0 / 0.6015 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.1828, allocations: 8 kB / 0.6015 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1828, allocations: 8 kB / 0.6015 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.1829, allocations: 7.922 kB / 0.6016 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005044/0.1834, allocations: 402.6 kB / 0.6019 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.1834, allocations: 88.92 kB / 0.602 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.1835, allocations: 8 kB / 0.602 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.1836, allocations: 4 kB / 0.602 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.1836, allocations: 15.92 kB / 0.602 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.1837, allocations: 12 kB / 0.6021 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.389e-05/0.1838, allocations: 132.3 kB / 0.6022 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1838, allocations: 0 / 0.6022 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002785/0.184, allocations: 32 kB / 0.6022 GB, free: 0.7695 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.0002308/0.1843, allocations: 139.2 kB / 0.6023 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.1848, allocations: 357.4 kB / 0.6027 GB, free: 236 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1848, allocations: 4 kB / 0.6027 GB, free: 232 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.185, allocations: 206.7 kB / 0.6029 GB, free: 0 / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.263/0.448, allocations: 15.56 kB / 0.6029 GB, free: 44.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/0.4488, allocations: 322.5 kB / 0.6032 GB, free: 44.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.4489, allocations: 0.7085 MB / 0.6039 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.825e-05/0.449, allocations: 21.48 kB / 0.6039 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.449, allocations: 13.84 kB / 0.6039 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.449, allocations: 0.5625 kB / 0.6039 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.00456/0.4536, allocations: 2.082 MB / 0.606 GB, free: 43.4 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:7: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