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.001053/0.001053, allocations: 104.4 kB / 16.35 MB, free: 6.336 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.001022/0.001022, allocations: 195.4 kB / 17.29 MB, free: 5.883 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.16 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.9019/0.9019, allocations: 143.1 MB / 434.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 0.5156 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3435, allocations: 82.02 MB / 0.5957 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002754/0.3463, allocations: 1.615 MB / 0.5973 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009458/0.3473, allocations: 0.61 MB / 0.5979 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.531e-05/0.3474, allocations: 5.375 kB / 0.5979 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.3475, allocations: 19.8 kB / 0.5979 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.3478, allocations: 47.75 kB / 0.5979 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.3481, allocations: 112.9 kB / 0.598 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000248/0.3484, allocations: 192.6 kB / 0.5982 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.3485, allocations: 35.56 kB / 0.5983 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.3487, allocations: 79.77 kB / 0.5983 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.3488, allocations: 84.22 kB / 0.5984 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.3489, allocations: 17.09 kB / 0.5984 GB, free: 13.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.665e-05/0.3489, allocations: 32 kB / 0.5985 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.859e-05/0.349, allocations: 27.89 kB / 0.5985 GB, free: 13.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.97e-05/0.3491, allocations: 76.88 kB / 0.5986 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.3493, allocations: 163.5 kB / 0.5987 GB, free: 13.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3493, allocations: 0 / 0.5987 GB, free: 13.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3493, allocations: 0.75 kB / 0.5987 GB, free: 13.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.3493, allocations: 0 / 0.5987 GB, free: 13.07 MB / 446.1 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.0005247/0.3499, allocations: 0.5598 MB / 0.5993 GB, free: 12.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.3499, allocations: 8.031 kB / 0.5993 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.35, allocations: 24.69 kB / 0.5993 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.3502, allocations: 238.2 kB / 0.5995 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.3502, allocations: 16.38 kB / 0.5995 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.3503, allocations: 9 kB / 0.5995 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.3505, allocations: 126.2 kB / 0.5997 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3505, allocations: 5.281 kB / 0.5997 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.3505, allocations: 4 kB / 0.5997 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3505, allocations: 0 / 0.5997 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.3507, allocations: 69.34 kB / 0.5997 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.3512, allocations: 422 kB / 0.6001 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.3514, allocations: 87.28 kB / 0.6002 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.3516, allocations: 74.16 kB / 0.6003 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.3516, allocations: 7.938 kB / 0.6003 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.3518, allocations: 172.4 kB / 0.6005 GB, free: 11.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.3518, allocations: 0 / 0.6005 GB, free: 11.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006159/0.3524, allocations: 358.9 kB / 0.6008 GB, free: 10.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.3525, allocations: 166.2 kB / 0.601 GB, free: 10.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3526, allocations: 171.5 kB / 0.6011 GB, free: 10.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.3527, allocations: 35.08 kB / 0.6012 GB, free: 10.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.3527, allocations: 112.3 kB / 0.6013 GB, free: 10.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.3528, allocations: 27.64 kB / 0.6013 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.395e-05/0.3528, allocations: 38.58 kB / 0.6013 GB, free: 10.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.3529, allocations: 332.1 kB / 0.6016 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.3531, allocations: 55.95 kB / 0.6017 GB, free: 9.734 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.3532, allocations: 107.7 kB / 0.6018 GB, free: 9.609 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.3535, allocations: 310 kB / 0.6021 GB, free: 9.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3535, allocations: 0 / 0.6021 GB, free: 9.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004206/0.3539, allocations: 346.2 kB / 0.6024 GB, free: 8.883 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.354, allocations: 125.9 kB / 0.6026 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.354, allocations: 0 / 0.6026 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.354, allocations: 4 kB / 0.6026 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.3541, allocations: 19.92 kB / 0.6026 GB, free: 8.715 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3541, allocations: 4.75 kB / 0.6026 GB, free: 8.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.501e-05/0.3542, allocations: 17.42 kB / 0.6026 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.3542, allocations: 12.28 kB / 0.6026 GB, free: 8.684 MB / 446.1 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.0001138/0.3544, allocations: 200.2 kB / 0.6028 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.3544, allocations: 15.81 kB / 0.6028 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.3544, allocations: 27.17 kB / 0.6028 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3544, allocations: 0 / 0.6028 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3545, allocations: 4 kB / 0.6028 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3545, allocations: 0 / 0.6028 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005601/0.355, allocations: 0.5779 MB / 0.6034 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.355, allocations: 3.984 kB / 0.6034 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.974e-05/0.3551, allocations: 8 kB / 0.6034 GB, free: 7.766 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3551, allocations: 7.938 kB / 0.6034 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.3551, allocations: 9.328 kB / 0.6034 GB, free: 7.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3551, allocations: 0 / 0.6034 GB, free: 7.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3552, allocations: 3.938 kB / 0.6034 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.3556, allocations: 405.5 kB / 0.6038 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.3556, allocations: 88.92 kB / 0.6039 GB, free: 7.219 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.3557, allocations: 4 kB / 0.6039 GB, free: 7.215 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3558, allocations: 15.98 kB / 0.6039 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.3558, allocations: 9.281 kB / 0.6039 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.3559, allocations: 11.97 kB / 0.6039 GB, free: 7.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.125e-05/0.3559, allocations: 131.5 kB / 0.6041 GB, free: 7.051 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3559, allocations: 0.875 kB / 0.6041 GB, free: 7.051 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000278/0.3562, allocations: 39.94 kB / 0.6041 GB, free: 7.012 MB / 446.1 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.0001996/0.3564, allocations: 120.2 kB / 0.6042 GB, free: 6.891 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004016/0.3568, allocations: 364.1 kB / 0.6046 GB, free: 6.488 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3569, allocations: 0 / 0.6046 GB, free: 6.488 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.357, allocations: 208 kB / 0.6048 GB, free: 6.262 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.3573, allocations: 19.98 kB / 0.6048 GB, free: 6.242 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005417/0.3579, allocations: 287.2 kB / 0.6051 GB, free: 5.938 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.3581, allocations: 0.7143 MB / 0.6058 GB, free: 5.199 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.051e-05/0.3581, allocations: 20.53 kB / 0.6058 GB, free: 5.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.3582, allocations: 11.44 kB / 0.6058 GB, free: 5.168 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3582, allocations: 1.344 kB / 0.6058 GB, free: 5.168 MB / 446.1 MB Notification: Performance of Templates: time 0.004718/0.3629, allocations: 2.096 MB / 0.6078 GB, free: 3.152 MB / 446.1 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 -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