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.001047/0.001047, allocations: 114.2 kB / 16.37 MB, free: 6.016 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.001037/0.001037, allocations: 192.3 kB / 17.3 MB, free: 5.613 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.387/1.387, 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.8996/0.8996, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001452, allocations: 55.91 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3727, allocations: 82.05 MB / 0.5957 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002609/0.3753, allocations: 1.603 MB / 0.5973 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007669/0.3761, allocations: 0.6131 MB / 0.5979 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.099e-05/0.3762, allocations: 4 kB / 0.5979 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.3763, allocations: 16.42 kB / 0.5979 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.3766, allocations: 44.86 kB / 0.5979 GB, free: 14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.3769, allocations: 119.7 kB / 0.598 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.3771, allocations: 197.6 kB / 0.5982 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3772, allocations: 31.83 kB / 0.5983 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.3774, allocations: 83.75 kB / 0.5983 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.3775, allocations: 83.72 kB / 0.5984 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.3775, allocations: 16 kB / 0.5984 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.033e-05/0.3776, allocations: 25.23 kB / 0.5985 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.04e-05/0.3777, allocations: 27.92 kB / 0.5985 GB, free: 13.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.857e-05/0.3777, allocations: 75.64 kB / 0.5986 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.3779, allocations: 177.8 kB / 0.5987 GB, free: 13.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3779, allocations: 0 / 0.5987 GB, free: 13.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.378, allocations: 0 / 0.5987 GB, free: 13.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.378, allocations: 0 / 0.5987 GB, free: 13.19 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.0005556/0.3785, allocations: 0.5552 MB / 0.5993 GB, free: 12.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3786, allocations: 8.031 kB / 0.5993 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.615e-05/0.3786, allocations: 20.75 kB / 0.5993 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.3789, allocations: 238 kB / 0.5995 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3789, allocations: 5.875 kB / 0.5995 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.3789, allocations: 20.31 kB / 0.5996 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.3792, allocations: 121.6 kB / 0.5997 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3792, allocations: 4.719 kB / 0.5997 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.3792, allocations: 5.531 kB / 0.5997 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3792, allocations: 4 kB / 0.5997 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.3794, allocations: 59.95 kB / 0.5997 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.38, allocations: 422.6 kB / 0.6001 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.3801, allocations: 83.94 kB / 0.6002 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.3803, allocations: 76.81 kB / 0.6003 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.3803, allocations: 1.438 kB / 0.6003 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.3805, allocations: 183.7 kB / 0.6005 GB, free: 11.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.3805, allocations: 0 / 0.6005 GB, free: 11.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005932/0.3811, allocations: 354.2 kB / 0.6008 GB, free: 10.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.3812, allocations: 167.4 kB / 0.601 GB, free: 10.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.3813, allocations: 179.5 kB / 0.6011 GB, free: 10.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.3813, allocations: 29.7 kB / 0.6012 GB, free: 10.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.3814, allocations: 109.2 kB / 0.6013 GB, free: 10.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.3814, allocations: 31.64 kB / 0.6013 GB, free: 10.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.3815, allocations: 39.14 kB / 0.6013 GB, free: 10.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.3815, allocations: 330.8 kB / 0.6017 GB, free: 9.914 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3816, allocations: 52.73 kB / 0.6017 GB, free: 9.863 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.3818, allocations: 106.6 kB / 0.6018 GB, free: 9.738 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.382, allocations: 311.8 kB / 0.6021 GB, free: 9.375 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.382, allocations: 1.344 kB / 0.6021 GB, free: 9.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004089/0.3824, allocations: 346.2 kB / 0.6024 GB, free: 9.008 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/0.3825, allocations: 120.8 kB / 0.6026 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.3825, allocations: 4.062 kB / 0.6026 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3825, allocations: 5.5 kB / 0.6026 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.3826, allocations: 16.27 kB / 0.6026 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3826, allocations: 7.984 kB / 0.6026 GB, free: 8.836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.477e-05/0.3827, allocations: 21.17 kB / 0.6026 GB, free: 8.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.3828, allocations: 11.94 kB / 0.6026 GB, free: 8.805 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.0001092/0.3829, allocations: 202.4 kB / 0.6028 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.3829, allocations: 19.81 kB / 0.6028 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.383, allocations: 21.33 kB / 0.6029 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.383, allocations: 1.406 kB / 0.6029 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.383, allocations: 0 / 0.6029 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.383, allocations: 0 / 0.6029 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005397/0.3835, allocations: 0.5848 MB / 0.6034 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3835, allocations: 0.9375 kB / 0.6034 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.3836, allocations: 11.98 kB / 0.6034 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3836, allocations: 1.375 kB / 0.6034 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.3836, allocations: 12 kB / 0.6034 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3836, allocations: 0 / 0.6034 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3836, allocations: 3.938 kB / 0.6035 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.3841, allocations: 405.5 kB / 0.6038 GB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.3841, allocations: 88.92 kB / 0.6039 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.3842, allocations: 7.984 kB / 0.6039 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.3843, allocations: 5.281 kB / 0.6039 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.3843, allocations: 15.92 kB / 0.604 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3844, allocations: 8 kB / 0.604 GB, free: 7.301 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.912e-05/0.3844, allocations: 136.9 kB / 0.6041 GB, free: 7.168 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3844, allocations: 0 / 0.6041 GB, free: 7.168 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.3847, allocations: 28 kB / 0.6041 GB, free: 7.141 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.0002102/0.3849, allocations: 134.8 kB / 0.6042 GB, free: 7.008 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003775/0.3853, allocations: 360.1 kB / 0.6046 GB, free: 6.609 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3853, allocations: 0 / 0.6046 GB, free: 6.609 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.3855, allocations: 211.3 kB / 0.6048 GB, free: 6.379 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.3858, allocations: 19.56 kB / 0.6048 GB, free: 6.363 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/0.3863, allocations: 281.5 kB / 0.6051 GB, free: 6.062 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.3864, allocations: 0.7072 MB / 0.6058 GB, free: 5.332 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.943e-05/0.3865, allocations: 20.53 kB / 0.6058 GB, free: 5.312 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.3865, allocations: 19.38 kB / 0.6058 GB, free: 5.293 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3866, allocations: 0 / 0.6058 GB, free: 5.293 MB / 446.1 MB Notification: Performance of Templates: time 0.004515/0.3911, allocations: 2.113 MB / 0.6079 GB, free: 3.254 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