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.5.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.5.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6928/0.6928, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001125/0.001126, allocations: 184.8 kB / 169.7 MB, free: 1.73 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.1 MB / 404.5 MB, free: 1.664 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.0009975/0.0009976, allocations: 88.89 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.729e-05/3.732e-05, allocations: 0 / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1838, allocations: 76.76 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5688/0.7526, allocations: 104.6 MB / 0.7303 GB, free: 8.801 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.753, allocations: 83.94 kB / 0.7304 GB, free: 8.754 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007076/0.7601, allocations: 2.562 MB / 0.7329 GB, free: 6.508 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.7601, allocations: 0 / 0.7329 GB, free: 6.508 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.7601, allocations: 4 kB / 0.7329 GB, free: 6.504 MB / 490.7 MB 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.0005165/0.7606, allocations: 0.5014 MB / 0.7333 GB, free: 5.945 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.7607, allocations: 8.031 kB / 0.7334 GB, free: 5.938 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.7607, allocations: 19.77 kB / 0.7334 GB, free: 5.918 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.761, allocations: 222.1 kB / 0.7336 GB, free: 5.668 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.761, allocations: 4 kB / 0.7336 GB, free: 5.664 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.7611, allocations: 15.25 kB / 0.7336 GB, free: 5.652 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.7613, allocations: 88.33 kB / 0.7337 GB, free: 5.574 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.7613, allocations: 8 kB / 0.7337 GB, free: 5.566 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.7613, allocations: 0 / 0.7337 GB, free: 5.566 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.7614, allocations: 4 kB / 0.7337 GB, free: 5.562 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.7615, allocations: 46.31 kB / 0.7337 GB, free: 5.531 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006624/0.7621, allocations: 395.3 kB / 0.7341 GB, free: 5.137 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.7623, allocations: 71.75 kB / 0.7342 GB, free: 5.074 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.396e-05/0.7624, allocations: 58.19 kB / 0.7342 GB, free: 5.031 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.7624, allocations: 3.984 kB / 0.7342 GB, free: 5.027 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.7626, allocations: 163.9 kB / 0.7344 GB, free: 4.859 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.7626, allocations: 0 / 0.7344 GB, free: 4.859 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004344/0.763, allocations: 246.5 kB / 0.7346 GB, free: 4.633 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.689e-05/0.7632, allocations: 162 kB / 0.7348 GB, free: 4.441 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.7633, allocations: 155.3 kB / 0.7349 GB, free: 4.301 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.7634, allocations: 28.89 kB / 0.735 GB, free: 4.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.7634, allocations: 106.3 kB / 0.7351 GB, free: 4.176 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.7635, allocations: 31.25 kB / 0.7351 GB, free: 4.148 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.7635, allocations: 4 kB / 0.7351 GB, free: 4.145 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.7636, allocations: 321.4 kB / 0.7354 GB, free: 3.828 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.548e-05/0.7637, allocations: 42.42 kB / 0.7355 GB, free: 3.797 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.7638, allocations: 84.55 kB / 0.7355 GB, free: 3.703 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.764, allocations: 164.5 kB / 0.7357 GB, free: 3.531 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.764, allocations: 0 / 0.7357 GB, free: 3.531 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003701/0.7643, allocations: 299 kB / 0.736 GB, free: 3.238 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.428e-05/0.7644, allocations: 114 kB / 0.7361 GB, free: 3.105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.7644, allocations: 1.266 kB / 0.7361 GB, free: 3.105 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.7645, allocations: 11.95 kB / 0.7361 GB, free: 3.094 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.7646, allocations: 23.92 kB / 0.7361 GB, free: 3.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.7646, allocations: 0 / 0.7361 GB, free: 3.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.914e-05/0.7647, allocations: 19.89 kB / 0.7361 GB, free: 3.051 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.7647, allocations: 11.25 kB / 0.7361 GB, free: 3.043 MB / 490.7 MB 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 () * 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.0001296/0.7649, allocations: 171.1 kB / 0.7363 GB, free: 2.859 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.7649, allocations: 11.91 kB / 0.7363 GB, free: 2.848 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.765, allocations: 20.72 kB / 0.7363 GB, free: 2.832 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.765, allocations: 7.953 kB / 0.7364 GB, free: 2.824 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.765, allocations: 0 / 0.7364 GB, free: 2.824 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.765, allocations: 3.984 kB / 0.7364 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005651/0.7656, allocations: 0.5251 MB / 0.7369 GB, free: 2.285 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.7656, allocations: 0 / 0.7369 GB, free: 2.285 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.918e-05/0.7656, allocations: 15.98 kB / 0.7369 GB, free: 2.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7657, allocations: 0 / 0.7369 GB, free: 2.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.7657, allocations: 11.95 kB / 0.7369 GB, free: 2.258 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7657, allocations: 0 / 0.7369 GB, free: 2.258 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7657, allocations: 0 / 0.7369 GB, free: 2.258 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.7661, allocations: 356.7 kB / 0.7372 GB, free: 1.922 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.7662, allocations: 96.8 kB / 0.7373 GB, free: 1.809 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.7662, allocations: 4 kB / 0.7373 GB, free: 1.805 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.7664, allocations: 15.62 kB / 0.7373 GB, free: 1.793 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.7664, allocations: 8 kB / 0.7374 GB, free: 1.785 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.7664, allocations: 11.98 kB / 0.7374 GB, free: 1.773 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.114e-05/0.7665, allocations: 122.8 kB / 0.7375 GB, free: 1.668 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7665, allocations: 4 kB / 0.7375 GB, free: 1.664 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002498/0.7668, allocations: 27.94 kB / 0.7375 GB, free: 1.641 MB / 490.7 MB 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) * 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.0002782/0.7671, allocations: 144.5 kB / 0.7376 GB, free: 1.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003664/0.7675, allocations: 324.9 kB / 0.738 GB, free: 1.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7675, allocations: 0 / 0.738 GB, free: 1.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.7676, allocations: 181.5 kB / 0.7381 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.7678, allocations: 11.88 kB / 0.7381 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004475/0.7683, allocations: 181.5 kB / 0.7383 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.7686, allocations: 0.7121 MB / 0.739 GB, free: 64 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.258e-05/0.7687, allocations: 20.41 kB / 0.739 GB, free: 44 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.7687, allocations: 15.44 kB / 0.739 GB, free: 28 kB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/0.7687, allocations: 0 / 0.739 GB, free: 28 kB / 490.7 MB Notification: Performance of Templates: time 0.004546/0.7733, allocations: 1.533 MB / 0.7405 GB, free: 14.52 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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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