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.0008353/0.0008353, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009001/0.0009002, allocations: 168.7 kB / 15.95 MB, free: 200 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.182/1.182, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.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.8854/0.8854, allocations: 143.1 MB / 434.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002372/0.0002372, allocations: 8 kB / 0.5158 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1308, allocations: 83.43 MB / 0.5973 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.001498/0.1323, allocations: 1.299 MB / 0.5985 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007954/0.1331, allocations: 0.5654 MB / 0.5991 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.1332, allocations: 7.938 kB / 0.5991 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.623e-05/0.1333, allocations: 15.94 kB / 0.5991 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.1334, allocations: 34.33 kB / 0.5991 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.1338, allocations: 103.8 kB / 0.5992 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.1339, allocations: 143.7 kB / 0.5994 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.168e-05/0.134, allocations: 25.09 kB / 0.5994 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1341, allocations: 67.77 kB / 0.5995 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1342, allocations: 79.72 kB / 0.5995 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.1343, allocations: 8 kB / 0.5996 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.531e-05/0.1343, allocations: 19.98 kB / 0.5996 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.1344, allocations: 23.92 kB / 0.5996 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.1344, allocations: 49.64 kB / 0.5996 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.1345, allocations: 116 kB / 0.5998 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.1346, allocations: 0 / 0.5998 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1346, allocations: 4 kB / 0.5998 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.926e-06/0.1346, allocations: 0 / 0.5998 GB, free: 5.508 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.0004568/0.135, allocations: 0.525 MB / 0.6003 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.299e-05/0.1351, allocations: 12.02 kB / 0.6003 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.013e-05/0.1351, allocations: 19.81 kB / 0.6003 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.1353, allocations: 230.7 kB / 0.6005 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1354, allocations: 12 kB / 0.6005 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.1354, allocations: 15.94 kB / 0.6005 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.1356, allocations: 113.6 kB / 0.6007 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.378e-06/0.1356, allocations: 0 / 0.6007 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1356, allocations: 4 kB / 0.6007 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-06/0.1356, allocations: 0 / 0.6007 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.1358, allocations: 83.89 kB / 0.6007 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.1363, allocations: 424.5 kB / 0.6011 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.1365, allocations: 98.56 kB / 0.6012 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.1366, allocations: 76.81 kB / 0.6013 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.1366, allocations: 4 kB / 0.6013 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.1369, allocations: 178.7 kB / 0.6015 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.1369, allocations: 0 / 0.6015 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0005904/0.1375, allocations: 368.8 kB / 0.6018 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.1376, allocations: 174.2 kB / 0.602 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1377, allocations: 170.6 kB / 0.6022 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1377, allocations: 33.7 kB / 0.6022 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.1378, allocations: 112.3 kB / 0.6023 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.1378, allocations: 19.72 kB / 0.6023 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.1378, allocations: 4 kB / 0.6023 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.1379, allocations: 330.8 kB / 0.6026 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.138, allocations: 59.95 kB / 0.6027 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.1382, allocations: 106.8 kB / 0.6028 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.1384, allocations: 174.8 kB / 0.603 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1384, allocations: 4 kB / 0.603 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004596/0.1388, allocations: 352 kB / 0.6033 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.386e-05/0.1389, allocations: 119.1 kB / 0.6034 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.1389, allocations: 0 / 0.6034 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.1389, allocations: 4 kB / 0.6034 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.139, allocations: 32.17 kB / 0.6035 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.139, allocations: 7.891 kB / 0.6035 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.702e-05/0.1391, allocations: 19.92 kB / 0.6035 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.1392, allocations: 11.98 kB / 0.6035 GB, free: 1.277 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.0001274/0.1393, allocations: 194.7 kB / 0.6037 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.1393, allocations: 15.81 kB / 0.6037 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.1394, allocations: 17.39 kB / 0.6037 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1394, allocations: 0 / 0.6037 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1394, allocations: 8 kB / 0.6037 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1394, allocations: 3.953 kB / 0.6037 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006125/0.14, allocations: 0.5915 MB / 0.6043 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.14, allocations: 3.984 kB / 0.6043 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.085e-05/0.1401, allocations: 12 kB / 0.6043 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1401, allocations: 7.938 kB / 0.6043 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.1401, allocations: 11.98 kB / 0.6043 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1401, allocations: 0 / 0.6043 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1401, allocations: 3.953 kB / 0.6043 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2374/0.3775, allocations: 398 kB / 0.6047 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.59e-05/0.3776, allocations: 92.97 kB / 0.6048 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/0.3777, allocations: 4.5 kB / 0.6048 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.3778, allocations: 14 kB / 0.6048 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.3779, allocations: 11.11 kB / 0.6048 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.3779, allocations: 9.391 kB / 0.6048 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001121/0.378, allocations: 129.7 kB / 0.605 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.378, allocations: 0.5625 kB / 0.605 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003644/0.3784, allocations: 37.02 kB / 0.605 GB, free: 40.97 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.0002501/0.3787, allocations: 130.6 kB / 0.6051 GB, free: 40.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000432/0.3791, allocations: 370.2 kB / 0.6055 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3791, allocations: 3.844 kB / 0.6055 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.3793, allocations: 207.5 kB / 0.6057 GB, free: 40.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.3796, allocations: 23.67 kB / 0.6057 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004779/0.3801, allocations: 312.1 kB / 0.606 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.3802, allocations: 0.7049 MB / 0.6067 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.042e-05/0.3803, allocations: 22.88 kB / 0.6067 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.3803, allocations: 25.27 kB / 0.6067 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.3803, allocations: 0 / 0.6067 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.00409/0.3844, allocations: 1.956 MB / 0.6086 GB, free: 39.47 MB / 0.4981 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/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 -Wno-parentheses-equality -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