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.724/0.724, allocations: 127.4 MB / 134.9 MB, free: 3.457 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.001022/0.001022, allocations: 179.8 kB / 164.6 MB, free: 11.63 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.428/1.428, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.0008244/0.0008245, allocations: 95.59 kB / 476.7 MB, free: 1.523 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.727e-05/1.73e-05, allocations: 4.5 kB / 0.5466 GB, free: 95.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1433, allocations: 76.76 MB / 0.6215 GB, free: 43.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.2747, allocations: 103.9 MB / 0.723 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.275, allocations: 79.95 kB / 0.7231 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006995/0.282, allocations: 2.558 MB / 0.7256 GB, free: 436 kB / 0.4948 GB Notification: Performance of FrontEnd: time 1.843e-06/0.282, allocations: 0 / 0.7256 GB, free: 436 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.282, allocations: 0 / 0.7256 GB, free: 436 kB / 0.4948 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.0005227/0.2826, allocations: 0.4972 MB / 0.726 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.2826, allocations: 12.03 kB / 0.7261 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.2827, allocations: 19.77 kB / 0.7261 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.283, allocations: 211.5 kB / 0.7263 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.283, allocations: 4 kB / 0.7263 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.283, allocations: 8 kB / 0.7263 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001373/0.2832, allocations: 35.98 kB / 0.7263 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.2833, allocations: 93.56 kB / 0.7264 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.2834, allocations: 4 kB / 0.7264 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.2834, allocations: 7.938 kB / 0.7264 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.2834, allocations: 3.953 kB / 0.7264 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006044/0.284, allocations: 365.2 kB / 0.7268 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.2841, allocations: 76.73 kB / 0.7269 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.258e-05/0.2842, allocations: 52.84 kB / 0.7269 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.2843, allocations: 4 kB / 0.7269 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.2844, allocations: 150.9 kB / 0.727 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.2845, allocations: 0 / 0.727 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0003817/0.2848, allocations: 181.3 kB / 0.7272 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.127e-05/0.2849, allocations: 170.2 kB / 0.7274 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.2851, allocations: 145.5 kB / 0.7275 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.2851, allocations: 29.7 kB / 0.7276 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.2852, allocations: 108.3 kB / 0.7277 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.2852, allocations: 15.72 kB / 0.7277 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/0.2853, allocations: 8 kB / 0.7277 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2854, allocations: 318.8 kB / 0.728 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.813e-05/0.2855, allocations: 35.98 kB / 0.728 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.2856, allocations: 86.8 kB / 0.7281 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.117e-05/0.2857, allocations: 47.91 kB / 0.7281 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2857, allocations: 4 kB / 0.7281 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003136/0.286, allocations: 173.3 kB / 0.7283 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-05/0.2861, allocations: 118.8 kB / 0.7284 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2861, allocations: 0 / 0.7284 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.2862, allocations: 4 kB / 0.7284 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.2863, allocations: 20.23 kB / 0.7285 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.2863, allocations: 7.953 kB / 0.7285 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.305e-05/0.2864, allocations: 15.84 kB / 0.7285 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.2864, allocations: 11.98 kB / 0.7285 GB, free: 13.12 MB / 0.5105 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 () * 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.0001446/0.2866, allocations: 172.3 kB / 0.7286 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.2866, allocations: 11.91 kB / 0.7287 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.2867, allocations: 17.83 kB / 0.7287 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2867, allocations: 0 / 0.7287 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.2867, allocations: 4 kB / 0.7287 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.2867, allocations: 3.953 kB / 0.7287 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004985/0.2872, allocations: 442.9 kB / 0.7291 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2872, allocations: 0 / 0.7291 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.921e-05/0.2873, allocations: 11.98 kB / 0.7291 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2873, allocations: 4 kB / 0.7291 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.2873, allocations: 11.97 kB / 0.7291 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2874, allocations: 0 / 0.7291 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.2874, allocations: 7.953 kB / 0.7291 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.2877, allocations: 283.2 kB / 0.7294 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.2878, allocations: 92.92 kB / 0.7295 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.2879, allocations: 4 kB / 0.7295 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.288, allocations: 7.984 kB / 0.7295 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.2881, allocations: 4 kB / 0.7295 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.2881, allocations: 11.94 kB / 0.7295 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.811e-05/0.2882, allocations: 128.3 kB / 0.7296 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2882, allocations: 0 / 0.7296 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002827/0.2885, allocations: 28 kB / 0.7297 GB, free: 11.8 MB / 0.5105 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) * 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.0002807/0.2888, allocations: 135.9 kB / 0.7298 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003436/0.2891, allocations: 313.5 kB / 0.7301 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2891, allocations: 0 / 0.7301 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.2893, allocations: 178.7 kB / 0.7303 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.2895, allocations: 7.938 kB / 0.7303 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.2899, allocations: 172.8 kB / 0.7304 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.2903, allocations: 0.7202 MB / 0.7312 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.414e-05/0.2904, allocations: 20.41 kB / 0.7312 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.2904, allocations: 11.44 kB / 0.7312 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.2904, allocations: 0 / 0.7312 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.004136/0.2946, allocations: 1.472 MB / 0.7326 GB, free: 8.676 MB / 0.5105 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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/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:6: ./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