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.00123/0.00123, allocations: 108 kB / 15.61 MB, free: 152 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.001195/0.001195, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.9936/0.9936, allocations: 143 MB / 433.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.89 kB / 0.5142 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1803, allocations: 82.04 MB / 0.5943 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.003021/0.1833, allocations: 1.6 MB / 0.5958 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009495/0.1843, allocations: 0.6117 MB / 0.5964 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.423e-05/0.1844, allocations: 3.938 kB / 0.5964 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.1846, allocations: 15.86 kB / 0.5965 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.1848, allocations: 50.62 kB / 0.5965 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.1851, allocations: 115.8 kB / 0.5966 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000238/0.1854, allocations: 199.6 kB / 0.5968 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1855, allocations: 29.11 kB / 0.5968 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.1857, allocations: 79.81 kB / 0.5969 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.1858, allocations: 91.59 kB / 0.597 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.1859, allocations: 16 kB / 0.597 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.068e-05/0.1859, allocations: 24 kB / 0.597 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.176e-05/0.186, allocations: 23.92 kB / 0.5971 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.1861, allocations: 75.64 kB / 0.5971 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.1864, allocations: 167.8 kB / 0.5973 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1864, allocations: 0 / 0.5973 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1864, allocations: 8 kB / 0.5973 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.1864, allocations: 0 / 0.5973 GB, free: 6.477 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.0007256/0.1871, allocations: 0.5562 MB / 0.5978 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1872, allocations: 8.031 kB / 0.5978 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/0.1873, allocations: 20.75 kB / 0.5979 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.1876, allocations: 233.2 kB / 0.5981 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.1876, allocations: 4.375 kB / 0.5981 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.1876, allocations: 16.38 kB / 0.5981 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.1879, allocations: 121.7 kB / 0.5982 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.1879, allocations: 0 / 0.5982 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.1879, allocations: 4 kB / 0.5982 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.188, allocations: 4 kB / 0.5982 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.1882, allocations: 67.94 kB / 0.5983 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006353/0.1888, allocations: 420.6 kB / 0.5987 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.189, allocations: 90.53 kB / 0.5988 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.1892, allocations: 72.81 kB / 0.5989 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.1892, allocations: 4 kB / 0.5989 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003242/0.1895, allocations: 182.9 kB / 0.599 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.1895, allocations: 0 / 0.599 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0007264/0.1903, allocations: 360.6 kB / 0.5994 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.72e-05/0.1904, allocations: 162.2 kB / 0.5995 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.1906, allocations: 183.3 kB / 0.5997 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.1906, allocations: 29.7 kB / 0.5997 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.1907, allocations: 116.4 kB / 0.5998 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.1907, allocations: 19.72 kB / 0.5999 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.1908, allocations: 41.69 kB / 0.5999 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.1909, allocations: 330.8 kB / 0.6002 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1911, allocations: 47.97 kB / 0.6003 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.1912, allocations: 110.8 kB / 0.6004 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.1916, allocations: 312.9 kB / 0.6007 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1916, allocations: 0 / 0.6007 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005171/0.1921, allocations: 348.2 kB / 0.601 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.729e-05/0.1922, allocations: 122.8 kB / 0.6011 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1922, allocations: 0 / 0.6011 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.1922, allocations: 4 kB / 0.6011 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.1924, allocations: 15.98 kB / 0.6011 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1924, allocations: 7.938 kB / 0.6011 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.547e-05/0.1925, allocations: 11.94 kB / 0.6012 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.1925, allocations: 8 kB / 0.6012 GB, free: 2.078 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.0001837/0.1927, allocations: 205.2 kB / 0.6014 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.1928, allocations: 15.81 kB / 0.6014 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.1928, allocations: 13.41 kB / 0.6014 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1928, allocations: 0 / 0.6014 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1928, allocations: 0 / 0.6014 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1928, allocations: 4 kB / 0.6014 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007447/0.1936, allocations: 0.5874 MB / 0.602 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1936, allocations: 8 kB / 0.602 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.421e-05/0.1937, allocations: 11.98 kB / 0.602 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1937, allocations: 4.281 kB / 0.602 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.1937, allocations: 8 kB / 0.602 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1937, allocations: 0 / 0.602 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.1937, allocations: 11.81 kB / 0.602 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005494/0.1943, allocations: 402.7 kB / 0.6024 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.1943, allocations: 92.92 kB / 0.6025 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.1944, allocations: 4 kB / 0.6025 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.1945, allocations: 8 kB / 0.6025 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.1946, allocations: 15.92 kB / 0.6025 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.1946, allocations: 4 kB / 0.6025 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.912e-05/0.1947, allocations: 135.5 kB / 0.6026 GB, free: 432 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.571e-05/0.1947, allocations: 0 / 0.6026 GB, free: 432 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003012/0.195, allocations: 39.94 kB / 0.6027 GB, free: 392 kB / 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.0002683/0.1953, allocations: 123.9 kB / 0.6028 GB, free: 264 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2693/0.4646, allocations: 369.6 kB / 0.6031 GB, free: 44.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.4647, allocations: 0 / 0.6031 GB, free: 44.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.465, allocations: 207.2 kB / 0.6033 GB, free: 44.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.4655, allocations: 16.89 kB / 0.6034 GB, free: 44.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/0.4661, allocations: 294.1 kB / 0.6036 GB, free: 44.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.4663, allocations: 0.7109 MB / 0.6043 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.066e-05/0.4663, allocations: 21.95 kB / 0.6044 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.4664, allocations: 17.16 kB / 0.6044 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/0.4664, allocations: 0.5312 kB / 0.6044 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.005027/0.4714, allocations: 2.089 MB / 0.6064 GB, free: 43.84 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 -DOM_HAVE_PTHREADS -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 -DOM_HAVE_PTHREADS -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