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.006009/0.006009, allocations: 106.8 kB / 15.74 MB, free: 5.996 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.001602/0.001602, allocations: 191 kB / 16.67 MB, free: 5.926 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.9156/0.9156, allocations: 143.1 MB / 433.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.8 kB / 0.5955 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1449, allocations: 82.03 MB / 0.6756 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.00266/0.1475, allocations: 1.615 MB / 0.6772 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000955/0.1485, allocations: 0.6116 MB / 0.6778 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.178e-05/0.1486, allocations: 4 kB / 0.6778 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.1488, allocations: 23.78 kB / 0.6778 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.149, allocations: 39.77 kB / 0.6779 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.1494, allocations: 123.7 kB / 0.678 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.1496, allocations: 191.6 kB / 0.6782 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1497, allocations: 25.11 kB / 0.6782 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.1499, allocations: 91.73 kB / 0.6783 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.15, allocations: 83.72 kB / 0.6783 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.1501, allocations: 12 kB / 0.6784 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.295e-05/0.1501, allocations: 24 kB / 0.6784 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.598e-05/0.1502, allocations: 35.84 kB / 0.6784 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.324e-05/0.1503, allocations: 71.72 kB / 0.6785 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.1505, allocations: 175.4 kB / 0.6786 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1506, allocations: 0 / 0.6786 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1506, allocations: 0 / 0.6786 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.1506, allocations: 4 kB / 0.6787 GB, free: 7.242 MB / 0.5137 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.0006579/0.1512, allocations: 0.5524 MB / 0.6792 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1513, allocations: 8.031 kB / 0.6792 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.848e-05/0.1514, allocations: 24.75 kB / 0.6792 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.1517, allocations: 244.9 kB / 0.6795 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.1517, allocations: 8.375 kB / 0.6795 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.1517, allocations: 16.38 kB / 0.6795 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.152, allocations: 121.7 kB / 0.6796 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1521, allocations: 0 / 0.6796 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.1521, allocations: 3.938 kB / 0.6796 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1521, allocations: 4 kB / 0.6796 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.1523, allocations: 63.95 kB / 0.6797 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000649/0.1529, allocations: 428.4 kB / 0.6801 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.1532, allocations: 86.53 kB / 0.6802 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.1533, allocations: 80.8 kB / 0.6802 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.1534, allocations: 4 kB / 0.6802 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002637/0.1536, allocations: 174.7 kB / 0.6804 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.1536, allocations: 0 / 0.6804 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0007291/0.1544, allocations: 360.9 kB / 0.6807 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.12e-05/0.1545, allocations: 170.1 kB / 0.6809 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.1546, allocations: 171.5 kB / 0.6811 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1547, allocations: 33.7 kB / 0.6811 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.527e-05/0.1548, allocations: 112.3 kB / 0.6812 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.1548, allocations: 27.66 kB / 0.6812 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.12e-05/0.1549, allocations: 37.7 kB / 0.6813 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.155, allocations: 326.8 kB / 0.6816 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.1551, allocations: 55.89 kB / 0.6816 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.1553, allocations: 110.8 kB / 0.6817 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/0.1557, allocations: 312.9 kB / 0.682 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1557, allocations: 0 / 0.682 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005047/0.1562, allocations: 340.1 kB / 0.6824 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.909e-05/0.1563, allocations: 125.7 kB / 0.6825 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.1563, allocations: 4 kB / 0.6825 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1563, allocations: 4 kB / 0.6825 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1564, allocations: 19.92 kB / 0.6825 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1565, allocations: 4 kB / 0.6825 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.598e-05/0.1566, allocations: 8 kB / 0.6825 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.1566, allocations: 15.98 kB / 0.6825 GB, free: 2.82 MB / 0.5137 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.0001531/0.1567, allocations: 203.2 kB / 0.6827 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.1568, allocations: 15.81 kB / 0.6828 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.1568, allocations: 17.41 kB / 0.6828 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1568, allocations: 0 / 0.6828 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1568, allocations: 0 / 0.6828 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1568, allocations: 4 kB / 0.6828 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006869/0.1575, allocations: 0.5836 MB / 0.6833 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1576, allocations: 0 / 0.6833 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-05/0.1576, allocations: 15.98 kB / 0.6834 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1576, allocations: 4 kB / 0.6834 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.1577, allocations: 8 kB / 0.6834 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1577, allocations: 0 / 0.6834 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1577, allocations: 4.219 kB / 0.6834 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005368/0.1582, allocations: 410.5 kB / 0.6838 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.1583, allocations: 88.92 kB / 0.6838 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.1583, allocations: 8 kB / 0.6839 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.1585, allocations: 16 kB / 0.6839 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.1585, allocations: 11.92 kB / 0.6839 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1585, allocations: 4 kB / 0.6839 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.328e-05/0.1586, allocations: 135.5 kB / 0.684 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1586, allocations: 0 / 0.684 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002936/0.1589, allocations: 36 kB / 0.684 GB, free: 1.133 MB / 0.5137 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.000215/0.1591, allocations: 122.7 kB / 0.6842 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005276/0.1597, allocations: 357.4 kB / 0.6845 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1597, allocations: 0 / 0.6845 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.16, allocations: 206.8 kB / 0.6847 GB, free: 392 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.1603, allocations: 26.67 kB / 0.6847 GB, free: 368 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005514/0.1608, allocations: 296.1 kB / 0.685 GB, free: 48 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.1611, allocations: 0.708 MB / 0.6857 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.073e-05/0.1612, allocations: 24.52 kB / 0.6857 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.1613, allocations: 19.44 kB / 0.6857 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of SimCode: time 2.2e-07/0.1613, allocations: 0 / 0.6857 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.005098/0.1664, allocations: 2.095 MB / 0.6878 GB, free: 13.19 MB / 0.5294 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