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/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6172/0.6172, allocations: 117.9 MB / 133.9 MB, free: 4.527 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 190.5 kB / 161.7 MB, free: 2.738 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.4 MB / 394.8 MB, free: 20.95 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007631/0.0007631, allocations: 88.36 kB / 470.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004468/0.000447, allocations: 12 kB / 0.5423 GB, free: 6.855 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4127, allocations: 74.54 MB / 0.6151 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.547, allocations: 103.5 MB / 0.7162 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003555/0.5475, allocations: 87.95 kB / 0.7163 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.007042/0.5545, allocations: 2.581 MB / 0.7188 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.973e-06/0.5545, allocations: 3.938 kB / 0.7189 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.5546, allocations: 4 kB / 0.7189 GB, free: 11.73 MB / 0.4948 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.0005629/0.5551, allocations: 0.5135 MB / 0.7194 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.72e-05/0.5552, allocations: 8.031 kB / 0.7194 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.035e-05/0.5553, allocations: 20.75 kB / 0.7194 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.5555, allocations: 230.8 kB / 0.7196 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.5555, allocations: 4.375 kB / 0.7196 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.5556, allocations: 12.38 kB / 0.7196 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.5558, allocations: 106.2 kB / 0.7197 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.5558, allocations: 3.938 kB / 0.7197 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.5559, allocations: 0 / 0.7197 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.5559, allocations: 4 kB / 0.7197 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.5561, allocations: 71.89 kB / 0.7198 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/0.5567, allocations: 396.6 kB / 0.7202 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.5569, allocations: 86.56 kB / 0.7203 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.557, allocations: 68.83 kB / 0.7203 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.5571, allocations: 8 kB / 0.7203 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/0.5573, allocations: 170.9 kB / 0.7205 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.5573, allocations: 0 / 0.7205 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0006403/0.558, allocations: 324.8 kB / 0.7208 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.5581, allocations: 158.2 kB / 0.721 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.5583, allocations: 174.2 kB / 0.7211 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.5583, allocations: 33.7 kB / 0.7212 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.5584, allocations: 100.4 kB / 0.7213 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.5584, allocations: 23.7 kB / 0.7213 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.5584, allocations: 8.281 kB / 0.7213 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5586, allocations: 334.8 kB / 0.7216 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.5587, allocations: 47.97 kB / 0.7216 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.5589, allocations: 110.7 kB / 0.7218 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.5593, allocations: 305 kB / 0.722 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.5593, allocations: 4 kB / 0.722 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004543/0.5598, allocations: 332 kB / 0.7224 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-05/0.5598, allocations: 114.8 kB / 0.7225 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.5599, allocations: 8 kB / 0.7225 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.5599, allocations: 0 / 0.7225 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.56, allocations: 23.92 kB / 0.7225 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.56, allocations: 8.312 kB / 0.7225 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.541e-05/0.5601, allocations: 19.98 kB / 0.7225 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.5601, allocations: 8 kB / 0.7225 GB, free: 7.527 MB / 0.4948 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.0001531/0.5603, allocations: 194.1 kB / 0.7227 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.5603, allocations: 15.81 kB / 0.7227 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.5604, allocations: 13.41 kB / 0.7228 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5604, allocations: 3.984 kB / 0.7228 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5604, allocations: 0 / 0.7228 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5604, allocations: 4 kB / 0.7228 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006305/0.561, allocations: 0.5603 MB / 0.7233 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.561, allocations: 0 / 0.7233 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.387e-05/0.5611, allocations: 15.92 kB / 0.7233 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5611, allocations: 4 kB / 0.7233 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.5611, allocations: 4 kB / 0.7233 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5611, allocations: 4 kB / 0.7233 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5612, allocations: 0 / 0.7233 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004645/0.5616, allocations: 386.5 kB / 0.7237 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.5617, allocations: 93 kB / 0.7238 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.5617, allocations: 0 / 0.7238 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.384e-05/0.5618, allocations: 8 kB / 0.7238 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.5619, allocations: 11.98 kB / 0.7238 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.5619, allocations: 11.92 kB / 0.7238 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.8e-05/0.562, allocations: 132.2 kB / 0.7239 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/0.562, allocations: 0 / 0.7239 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002614/0.5623, allocations: 31.91 kB / 0.724 GB, free: 5.922 MB / 0.4948 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.0002453/0.5625, allocations: 142.3 kB / 0.7241 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004411/0.563, allocations: 353.5 kB / 0.7244 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.563, allocations: 0 / 0.7244 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.5632, allocations: 190.8 kB / 0.7246 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.5635, allocations: 8 kB / 0.7246 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006183/0.5641, allocations: 298.4 kB / 0.7249 GB, free: 4.848 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.5644, allocations: 0.7121 MB / 0.7256 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.498e-05/0.5645, allocations: 20.41 kB / 0.7256 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.894e-05/0.5645, allocations: 11.44 kB / 0.7256 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of SimCode: time 3.21e-07/0.5645, allocations: 3.938 kB / 0.7257 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of Templates: time 0.004277/0.5688, allocations: 1.532 MB / 0.7271 GB, free: 2.555 MB / 0.4948 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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