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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.0008913/0.0008913, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009661/0.0009661, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9492/0.9492, allocations: 143.3 MB / 434.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 8 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.16, allocations: 83.41 MB / 0.5973 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.001836/0.1619, allocations: 1.299 MB / 0.5985 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009131/0.1628, allocations: 0.5537 MB / 0.5991 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.584e-05/0.1629, allocations: 3.938 kB / 0.5991 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.1631, allocations: 15.94 kB / 0.5991 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.1633, allocations: 43.86 kB / 0.5992 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.1637, allocations: 91.83 kB / 0.5992 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000165/0.1639, allocations: 99.81 kB / 0.5993 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.164, allocations: 21.09 kB / 0.5994 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.1642, allocations: 79.77 kB / 0.5994 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.1643, allocations: 71.72 kB / 0.5995 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.1644, allocations: 8 kB / 0.5995 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.101e-05/0.1644, allocations: 11.94 kB / 0.5995 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.669e-05/0.1645, allocations: 27.91 kB / 0.5995 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.932e-05/0.1646, allocations: 49.64 kB / 0.5996 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.1647, allocations: 108 kB / 0.5997 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1648, allocations: 0 / 0.5997 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1648, allocations: 0 / 0.5997 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.1648, allocations: 0 / 0.5997 GB, free: 5.332 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.0006336/0.1654, allocations: 0.5392 MB / 0.6002 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1655, allocations: 8.031 kB / 0.6002 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.497e-05/0.1655, allocations: 19.81 kB / 0.6002 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.1658, allocations: 227.5 kB / 0.6005 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.1659, allocations: 8 kB / 0.6005 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.1659, allocations: 12 kB / 0.6005 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.1662, allocations: 121.5 kB / 0.6006 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.1662, allocations: 4 kB / 0.6006 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.1662, allocations: 3.984 kB / 0.6006 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1662, allocations: 4 kB / 0.6006 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.1664, allocations: 71.95 kB / 0.6007 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006471/0.1671, allocations: 428.5 kB / 0.6011 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.1673, allocations: 94.53 kB / 0.6012 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.1673, allocations: 0 / 0.6012 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000255/0.1676, allocations: 190.8 kB / 0.6014 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.1676, allocations: 0 / 0.6014 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0007656/0.1683, allocations: 0.5068 MB / 0.6019 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/0.1684, allocations: 170.2 kB / 0.602 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.1686, allocations: 174.6 kB / 0.6022 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.1686, allocations: 33.7 kB / 0.6022 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.1687, allocations: 112.3 kB / 0.6023 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.1687, allocations: 23.72 kB / 0.6023 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.1688, allocations: 0 / 0.6023 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1689, allocations: 330.8 kB / 0.6027 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.169, allocations: 51.97 kB / 0.6027 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.1692, allocations: 118.8 kB / 0.6028 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.1694, allocations: 186.6 kB / 0.603 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1694, allocations: 0 / 0.603 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005053/0.1699, allocations: 344.4 kB / 0.6033 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.238e-05/0.17, allocations: 118.8 kB / 0.6034 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.17, allocations: 4 kB / 0.6034 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.17, allocations: 4 kB / 0.6035 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1701, allocations: 23.92 kB / 0.6035 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.1702, allocations: 4 kB / 0.6035 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.1703, allocations: 23.88 kB / 0.6035 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.1703, allocations: 8 kB / 0.6035 GB, free: 0.9922 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 ($PRE.combiTimeTableWriter.str,combiTimeTableWriter.str,$PRE.csvWriter.str,csvWriter.str,$whenCondition2,combiTimeTableWriter.sampleTrigger,$whenCondition1,csvWriter.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001447/0.1705, allocations: 197.2 kB / 0.6037 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.1705, allocations: 19.81 kB / 0.6037 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.735e-05/0.1705, allocations: 17.39 kB / 0.6037 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1705, allocations: 0 / 0.6037 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1705, allocations: 0 / 0.6037 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1706, allocations: 0 / 0.6037 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006819/0.1712, allocations: 0.5995 MB / 0.6043 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1713, allocations: 3.938 kB / 0.6043 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/0.1713, allocations: 12 kB / 0.6043 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1713, allocations: 0 / 0.6043 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.1714, allocations: 15.98 kB / 0.6043 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1714, allocations: 4 kB / 0.6044 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1714, allocations: 3.953 kB / 0.6044 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2759/0.4473, allocations: 404.3 kB / 0.6047 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.944e-05/0.4474, allocations: 89.56 kB / 0.6048 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.476e-05/0.4475, allocations: 5.453 kB / 0.6048 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.4477, allocations: 13.3 kB / 0.6048 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.4478, allocations: 6.016 kB / 0.6049 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.4478, allocations: 12.2 kB / 0.6049 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001433/0.448, allocations: 130.9 kB / 0.605 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.448, allocations: 0 / 0.605 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005387/0.4485, allocations: 37.62 kB / 0.605 GB, free: 40.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002987/0.4488, allocations: 122 kB / 0.6051 GB, free: 40.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000678/0.4495, allocations: 376.1 kB / 0.6055 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4495, allocations: 0.5 kB / 0.6055 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.4498, allocations: 208.6 kB / 0.6057 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.4501, allocations: 16.94 kB / 0.6057 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007307/0.4509, allocations: 309.8 kB / 0.606 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.4511, allocations: 0.7188 MB / 0.6067 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.635e-05/0.4512, allocations: 18.88 kB / 0.6067 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.4512, allocations: 14.98 kB / 0.6067 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.4512, allocations: 0 / 0.6067 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of Templates: time 0.006588/0.4578, allocations: 1.976 MB / 0.6087 GB, free: 39.09 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile Environment - environmentSimulation: make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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