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.7055/0.7055, allocations: 128.7 MB / 144.5 MB, free: 1.398 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.001172/0.001172, allocations: 184.1 kB / 174.2 MB, free: 5.949 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.481/1.481, allocations: 205.1 MB / 408.9 MB, free: 9.75 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.001022/0.001022, allocations: 108.3 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 53.14 kB / 0.558 GB, free: 97.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1367, allocations: 75.47 MB / 0.6317 GB, free: 33.09 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.003072/0.1398, allocations: 1.648 MB / 0.6333 GB, free: 31.42 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1409, allocations: 0.6203 MB / 0.6339 GB, free: 30.79 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.1411, allocations: 0 / 0.6339 GB, free: 30.79 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.1413, allocations: 19.91 kB / 0.6339 GB, free: 30.77 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.1416, allocations: 29.09 kB / 0.6339 GB, free: 30.75 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.142, allocations: 105.3 kB / 0.634 GB, free: 30.64 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.1422, allocations: 135.7 kB / 0.6342 GB, free: 30.51 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.1424, allocations: 29.05 kB / 0.6342 GB, free: 30.48 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.1426, allocations: 71.7 kB / 0.6343 GB, free: 30.41 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.1428, allocations: 67.73 kB / 0.6343 GB, free: 30.35 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.1428, allocations: 8 kB / 0.6343 GB, free: 30.34 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.365e-05/0.1429, allocations: 20 kB / 0.6344 GB, free: 30.32 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.143, allocations: 27.91 kB / 0.6344 GB, free: 30.29 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.612e-05/0.1431, allocations: 55.72 kB / 0.6344 GB, free: 30.24 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.1434, allocations: 147.5 kB / 0.6346 GB, free: 30.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1434, allocations: 0 / 0.6346 GB, free: 30.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1434, allocations: 0 / 0.6346 GB, free: 30.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1434, allocations: 0 / 0.6346 GB, free: 30.09 MB / 442.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.000733/0.1442, allocations: 0.5254 MB / 0.6351 GB, free: 29.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.1442, allocations: 8.031 kB / 0.6351 GB, free: 29.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.512e-05/0.1443, allocations: 12.84 kB / 0.6351 GB, free: 29.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.1446, allocations: 233.5 kB / 0.6353 GB, free: 29.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.1446, allocations: 12.31 kB / 0.6353 GB, free: 29.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.1446, allocations: 12.38 kB / 0.6354 GB, free: 29.19 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.1449, allocations: 105.7 kB / 0.6355 GB, free: 29.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1449, allocations: 0 / 0.6355 GB, free: 29.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.1449, allocations: 4 kB / 0.6355 GB, free: 29.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.145, allocations: 3.984 kB / 0.6355 GB, free: 29.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.1451, allocations: 63.89 kB / 0.6355 GB, free: 29.01 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006501/0.1458, allocations: 388.7 kB / 0.6359 GB, free: 28.58 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.146, allocations: 78.58 kB / 0.636 GB, free: 28.49 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.1461, allocations: 64.81 kB / 0.636 GB, free: 28.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.1461, allocations: 4 kB / 0.636 GB, free: 28.42 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.1464, allocations: 162.8 kB / 0.6362 GB, free: 28.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.1464, allocations: 0 / 0.6362 GB, free: 28.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005798/0.147, allocations: 317.1 kB / 0.6365 GB, free: 27.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.1471, allocations: 170.1 kB / 0.6367 GB, free: 27.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.1472, allocations: 174.9 kB / 0.6368 GB, free: 27.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1472, allocations: 29.7 kB / 0.6368 GB, free: 27.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.1473, allocations: 108.3 kB / 0.637 GB, free: 27.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.1473, allocations: 23.66 kB / 0.637 GB, free: 27.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.279e-05/0.1474, allocations: 37.7 kB / 0.637 GB, free: 27.31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.167e-05/0.1475, allocations: 330.8 kB / 0.6373 GB, free: 26.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.1476, allocations: 43.97 kB / 0.6374 GB, free: 26.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.1477, allocations: 104.3 kB / 0.6375 GB, free: 26.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.148, allocations: 305 kB / 0.6378 GB, free: 26.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.148, allocations: 0 / 0.6378 GB, free: 26.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003972/0.1484, allocations: 324 kB / 0.6381 GB, free: 26.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/0.1484, allocations: 114.8 kB / 0.6382 GB, free: 25.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1485, allocations: 0 / 0.6382 GB, free: 25.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.1485, allocations: 4 kB / 0.6382 GB, free: 25.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1486, allocations: 19.92 kB / 0.6382 GB, free: 25.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.1486, allocations: 4 kB / 0.6382 GB, free: 25.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.614e-05/0.1487, allocations: 16.19 kB / 0.6382 GB, free: 25.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.1487, allocations: 8 kB / 0.6382 GB, free: 25.92 MB / 442.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 (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.0001114/0.1488, allocations: 192 kB / 0.6384 GB, free: 25.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.1489, allocations: 19.75 kB / 0.6384 GB, free: 25.69 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.1489, allocations: 21.39 kB / 0.6384 GB, free: 25.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1489, allocations: 7.938 kB / 0.6385 GB, free: 25.67 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1489, allocations: 4 kB / 0.6385 GB, free: 25.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1489, allocations: 0 / 0.6385 GB, free: 25.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/0.1495, allocations: 0.5446 MB / 0.639 GB, free: 25.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1495, allocations: 0 / 0.639 GB, free: 25.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.134e-05/0.1496, allocations: 15.98 kB / 0.639 GB, free: 25.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1496, allocations: 4 kB / 0.639 GB, free: 25.03 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.1496, allocations: 7.984 kB / 0.639 GB, free: 25.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1496, allocations: 0 / 0.639 GB, free: 25.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1496, allocations: 3.938 kB / 0.639 GB, free: 25.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006254/0.1502, allocations: 0.9886 MB / 0.64 GB, free: 23.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.155e-05/0.1503, allocations: 96.8 kB / 0.6401 GB, free: 23.85 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.1503, allocations: 8 kB / 0.6401 GB, free: 23.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.1504, allocations: 7.984 kB / 0.6401 GB, free: 23.83 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.1505, allocations: 4 kB / 0.6401 GB, free: 23.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.1505, allocations: 11.98 kB / 0.6401 GB, free: 23.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.878e-05/0.1506, allocations: 132.2 kB / 0.6402 GB, free: 23.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.312e-06/0.1506, allocations: 0 / 0.6402 GB, free: 23.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003784/0.151, allocations: 35.94 kB / 0.6403 GB, free: 23.65 MB / 442.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) * 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.0002138/0.1512, allocations: 127.8 kB / 0.6404 GB, free: 23.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003747/0.1516, allocations: 341.5 kB / 0.6407 GB, free: 23.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1516, allocations: 4 kB / 0.6407 GB, free: 23.13 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.1518, allocations: 186.7 kB / 0.6409 GB, free: 22.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.152, allocations: 15.94 kB / 0.6409 GB, free: 22.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005726/0.1526, allocations: 441 kB / 0.6413 GB, free: 22.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.1527, allocations: 0.7083 MB / 0.642 GB, free: 21.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.007e-05/0.1528, allocations: 20.41 kB / 0.642 GB, free: 21.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.1529, allocations: 19.44 kB / 0.6421 GB, free: 21.67 MB / 442.7 MB Notification: Performance of SimCode: time 2.9e-07/0.1529, allocations: 0 / 0.6421 GB, free: 21.67 MB / 442.7 MB Notification: Performance of Templates: time 0.004044/0.1569, allocations: 1.66 MB / 0.6437 GB, free: 20.02 MB / 442.7 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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