Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.977/1.977, allocations: 289.7 MB / 302.2 MB, free: 2.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 180 kB / 371.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009981/0.0009981, allocations: 95.75 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.682e-05/4.684e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2731, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8826/1.156, allocations: 141 MB / 1.118 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/1.156, allocations: 82.34 kB / 1.118 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01192/1.168, allocations: 4.992 MB / 1.123 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.442e-06/1.168, allocations: 0 / 1.123 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.478e-06/1.168, allocations: 1.969 kB / 1.123 GB, free: 40.37 MB / 0.7448 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.0004432/1.168, allocations: 0.5197 MB / 1.123 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/1.168, allocations: 8.031 kB / 1.123 GB, free: 39.81 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.188e-05/1.169, allocations: 34.56 kB / 1.123 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/1.169, allocations: 17.62 kB / 1.123 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/1.169, allocations: 240.1 kB / 1.123 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/1.169, allocations: 11.19 kB / 1.123 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/1.169, allocations: 16.5 kB / 1.123 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/1.169, allocations: 95.58 kB / 1.123 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/1.169, allocations: 0 / 1.123 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/1.169, allocations: 8 kB / 1.123 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/1.169, allocations: 0 / 1.123 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.966e-05/1.169, allocations: 53.33 kB / 1.124 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/1.17, allocations: 420.6 kB / 1.124 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/1.17, allocations: 79.73 kB / 1.124 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.493e-05/1.17, allocations: 69.61 kB / 1.124 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/1.17, allocations: 7.422 kB / 1.124 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/1.17, allocations: 163.5 kB / 1.124 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/1.17, allocations: 0 / 1.124 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0004097/1.171, allocations: 279.5 kB / 1.125 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/1.171, allocations: 173.7 kB / 1.125 GB, free: 38.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/1.171, allocations: 159.8 kB / 1.125 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/1.171, allocations: 34.02 kB / 1.125 GB, free: 38.17 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/1.171, allocations: 102.8 kB / 1.125 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/1.171, allocations: 30.38 kB / 1.125 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-06/1.171, allocations: 0 / 1.125 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.448e-05/1.171, allocations: 326.8 kB / 1.125 GB, free: 37.74 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.741e-05/1.171, allocations: 42.72 kB / 1.125 GB, free: 37.71 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.899e-05/1.171, allocations: 98.17 kB / 1.125 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/1.171, allocations: 168.9 kB / 1.126 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.171, allocations: 0 / 1.126 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003555/1.172, allocations: 319.9 kB / 1.126 GB, free: 37.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.5e-05/1.172, allocations: 122.1 kB / 1.126 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.172, allocations: 1.188 kB / 1.126 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.172, allocations: 6.641 kB / 1.126 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/1.172, allocations: 23.55 kB / 1.126 GB, free: 37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/1.172, allocations: 4.703 kB / 1.126 GB, free: 37 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.57e-05/1.172, allocations: 23.08 kB / 1.126 GB, free: 36.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/1.172, allocations: 11.94 kB / 1.126 GB, free: 36.97 MB / 0.7448 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 8.675e-05/1.172, allocations: 175.7 kB / 1.126 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/1.172, allocations: 20.75 kB / 1.126 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.717e-05/1.172, allocations: 12.89 kB / 1.126 GB, free: 36.76 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/1.172, allocations: 8 kB / 1.126 GB, free: 36.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.172, allocations: 0 / 1.126 GB, free: 36.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/1.172, allocations: 1.062 kB / 1.126 GB, free: 36.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/1.173, allocations: 0.5675 MB / 1.127 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.173, allocations: 4 kB / 1.127 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.399e-05/1.173, allocations: 11.42 kB / 1.127 GB, free: 36.22 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/1.173, allocations: 0 / 1.127 GB, free: 36.22 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/1.173, allocations: 14.62 kB / 1.127 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.173, allocations: 4 kB / 1.127 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.173, allocations: 1.375 kB / 1.127 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/1.173, allocations: 384.8 kB / 1.127 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/1.173, allocations: 92.25 kB / 1.127 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/1.173, allocations: 7.625 kB / 1.127 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/1.173, allocations: 8 kB / 1.127 GB, free: 35.76 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/1.174, allocations: 7.188 kB / 1.127 GB, free: 35.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/1.174, allocations: 15.36 kB / 1.127 GB, free: 35.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.45e-05/1.174, allocations: 136.6 kB / 1.128 GB, free: 35.63 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.174, allocations: 0 / 1.128 GB, free: 35.63 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002583/1.174, allocations: 32 kB / 1.128 GB, free: 35.6 MB / 0.7448 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.0006446/1.175, allocations: 0.9512 MB / 1.128 GB, free: 34.7 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002956/1.175, allocations: 345.7 kB / 1.129 GB, free: 34.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.175, allocations: 0 / 1.129 GB, free: 34.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/1.175, allocations: 192.3 kB / 1.129 GB, free: 34.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/1.175, allocations: 16.7 kB / 1.129 GB, free: 34.17 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000587/1.176, allocations: 268 kB / 1.129 GB, free: 33.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/1.176, allocations: 0.7093 MB / 1.13 GB, free: 33.21 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.219e-05/1.176, allocations: 20.91 kB / 1.13 GB, free: 33.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/1.176, allocations: 34.34 kB / 1.13 GB, free: 33.2 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/1.176, allocations: 4 kB / 1.13 GB, free: 33.19 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/1.19, allocations: 3.307 MB / 1.133 GB, free: 31.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001398/1.191, allocations: 155.4 kB / 1.133 GB, free: 31.07 MB / 0.7448 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVWriter.o Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVWriter.c In file included from Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVWriter.c:7: In file included from ./Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVWriter_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVWriter_functions.o Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVWriter_functions.c In file included from Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVWriter_functions.c:2: In file included from ./Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVWriter_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVWriter_functions.c:7: In file included from ./Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVWriter_includes.h:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/fileWriterFree.c:7:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVWriter_functions.o] Error 1