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.001129/0.001129, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001181/0.001181, allocations: 186.1 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.8647/0.8647, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 64.39 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1339, allocations: 82.04 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002879/0.1368, allocations: 1.609 MB / 0.6779 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009405/0.1378, allocations: 0.6194 MB / 0.6785 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.579e-05/0.1379, allocations: 0 / 0.6785 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.138, allocations: 15.81 kB / 0.6785 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.1382, allocations: 43.75 kB / 0.6785 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.1386, allocations: 115.7 kB / 0.6787 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.1389, allocations: 199.6 kB / 0.6788 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.139, allocations: 21.11 kB / 0.6789 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.1391, allocations: 83.75 kB / 0.6789 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.1393, allocations: 87.72 kB / 0.679 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.1393, allocations: 12 kB / 0.679 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.822e-05/0.1394, allocations: 28 kB / 0.6791 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.449e-05/0.1395, allocations: 39.84 kB / 0.6791 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.603e-05/0.1396, allocations: 71.7 kB / 0.6792 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.1398, allocations: 171.4 kB / 0.6793 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1398, allocations: 4 kB / 0.6793 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.81e-07/0.1398, allocations: 0 / 0.6793 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.1399, allocations: 3.938 kB / 0.6793 GB, free: 7.215 MB / 0.5137 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.0006608/0.1405, allocations: 0.5602 MB / 0.6799 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1406, allocations: 8.031 kB / 0.6799 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.548e-05/0.1406, allocations: 24.75 kB / 0.6799 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.141, allocations: 233 kB / 0.6801 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.141, allocations: 12.38 kB / 0.6802 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.141, allocations: 12.36 kB / 0.6802 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.1413, allocations: 121.7 kB / 0.6803 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1413, allocations: 4 kB / 0.6803 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.1413, allocations: 4 kB / 0.6803 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1413, allocations: 0 / 0.6803 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.1416, allocations: 71.94 kB / 0.6804 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.1422, allocations: 420.4 kB / 0.6808 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.1424, allocations: 90.53 kB / 0.6808 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.1425, allocations: 72.81 kB / 0.6809 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.1426, allocations: 4 kB / 0.6809 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.1428, allocations: 178.9 kB / 0.6811 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 2.976e-06/0.1429, allocations: 7.984 kB / 0.6811 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0006888/0.1435, allocations: 348.8 kB / 0.6814 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.1436, allocations: 174.1 kB / 0.6816 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.1438, allocations: 167.5 kB / 0.6818 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.1438, allocations: 37.69 kB / 0.6818 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.1439, allocations: 108.3 kB / 0.6819 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.1439, allocations: 31.62 kB / 0.6819 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-05/0.144, allocations: 37.7 kB / 0.682 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1441, allocations: 335 kB / 0.6823 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.1443, allocations: 47.95 kB / 0.6823 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.1444, allocations: 106.8 kB / 0.6824 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.1448, allocations: 316.9 kB / 0.6827 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1448, allocations: 0 / 0.6827 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00052/0.1453, allocations: 348 kB / 0.6831 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.064e-05/0.1454, allocations: 118.8 kB / 0.6832 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1454, allocations: 0 / 0.6832 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1454, allocations: 4.25 kB / 0.6832 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1455, allocations: 19.98 kB / 0.6832 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.1456, allocations: 4 kB / 0.6832 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.1457, allocations: 15.98 kB / 0.6832 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.1457, allocations: 8 kB / 0.6832 GB, free: 2.797 MB / 0.5137 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 (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.0001477/0.1458, allocations: 198.8 kB / 0.6834 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.1459, allocations: 15.81 kB / 0.6834 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.1459, allocations: 21.39 kB / 0.6835 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1459, allocations: 0 / 0.6835 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1459, allocations: 4 kB / 0.6835 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.146, allocations: 92.86 kB / 0.6835 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.146, allocations: 4 kB / 0.6835 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/0.1461, allocations: 15.92 kB / 0.6836 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.1462, allocations: 8 kB / 0.6836 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006193/0.1468, allocations: 495 kB / 0.684 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006294/0.1475, allocations: 478 kB / 0.6845 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001791/0.1476, allocations: 83.95 kB / 0.6846 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001177/0.1478, allocations: 131.5 kB / 0.6847 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of Backend: time 4.91e-07/0.1478, allocations: 3.938 kB / 0.6847 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008806/0.1487, allocations: 412.5 kB / 0.6851 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0007613/0.1494, allocations: 0.7884 MB / 0.6859 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of Templates: time 0.005294/0.1547, allocations: 2.241 MB / 0.6881 GB, free: 13.63 MB / 0.5294 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 -DOM_HAVE_PTHREADS -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 -DOM_HAVE_PTHREADS -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:7: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