Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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: "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009983/0.0009981, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001142/0.001142, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.402/2.402, allocations: 409.4 MB / 0.684 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003212, allocations: 8 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5865/0.5869, allocations: 146.8 MB / 0.9811 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.001475/0.5884, allocations: 1.067 MB / 0.9822 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001467/0.5886, allocations: 31.86 kB / 0.9822 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.791e-05/0.5886, allocations: 0 / 0.9822 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.5888, allocations: 11.92 kB / 0.9822 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.69e-05/0.5889, allocations: 8 kB / 0.9822 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 2.635e-06/0.5889, allocations: 0 / 0.9822 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.127e-05/0.589, allocations: 15.92 kB / 0.9822 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/0.589, allocations: 4 kB / 0.9822 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.774e-05/0.5891, allocations: 7.938 kB / 0.9823 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/0.5891, allocations: 15.91 kB / 0.9823 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.5891, allocations: 4 kB / 0.9823 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.176e-05/0.5892, allocations: 4 kB / 0.9823 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.5892, allocations: 8 kB / 0.9823 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.5892, allocations: 25.7 kB / 0.9823 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.089e-05/0.5893, allocations: 11.98 kB / 0.9823 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5893, allocations: 0 / 0.9823 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5893, allocations: 3.938 kB / 0.9823 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.5893, allocations: 0 / 0.9823 GB, free: 4.992 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002647/0.5896, allocations: 329.6 kB / 0.9826 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.5896, allocations: 16.03 kB / 0.9827 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.116e-05/0.5897, allocations: 30.56 kB / 0.9827 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.038e-05/0.5897, allocations: 7.844 kB / 0.9827 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.5899, allocations: 171 kB / 0.9829 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.5899, allocations: 0 / 0.9829 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.5899, allocations: 8 kB / 0.9829 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.78e-05/0.59, allocations: 37.64 kB / 0.9829 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.59, allocations: 0 / 0.9829 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-06/0.59, allocations: 0 / 0.9829 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.59, allocations: 0 / 0.9829 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.058e-05/0.5901, allocations: 8 kB / 0.9829 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000246/0.5903, allocations: 248.8 kB / 0.9831 GB, free: 4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.701e-05/0.5904, allocations: 24.83 kB / 0.9832 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.368e-05/0.5904, allocations: 4.859 kB / 0.9832 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.5904, allocations: 0 / 0.9832 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.5904, allocations: 34.56 kB / 0.9832 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.5904, allocations: 0 / 0.9832 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001211/0.5906, allocations: 45.59 kB / 0.9832 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.5906, allocations: 55.41 kB / 0.9833 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.5907, allocations: 110.1 kB / 0.9834 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.5907, allocations: 29.64 kB / 0.9834 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.5908, allocations: 88.14 kB / 0.9835 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.665e-06/0.5908, allocations: 3.938 kB / 0.9835 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-06/0.5908, allocations: 0 / 0.9835 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5909, allocations: 319 kB / 0.9838 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/0.5909, allocations: 8 kB / 0.9838 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-06/0.5909, allocations: 0 / 0.9838 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.363e-05/0.5909, allocations: 4 kB / 0.9838 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.591, allocations: 0 / 0.9838 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.166e-05/0.591, allocations: 41.5 kB / 0.9839 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.591, allocations: 8 kB / 0.9839 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.5911, allocations: 0 / 0.9839 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.5911, allocations: 4.094 kB / 0.9839 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.28e-05/0.5911, allocations: 3.984 kB / 0.9839 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5911, allocations: 8.062 kB / 0.9839 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.21e-05/0.5911, allocations: 0 / 0.9839 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.5912, allocations: 0 / 0.9839 GB, free: 3.152 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 6.518e-05/0.5912, allocations: 105.8 kB / 0.984 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.5913, allocations: 7.953 kB / 0.984 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.017e-05/0.5913, allocations: 41.22 kB / 0.984 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.5914, allocations: 4 kB / 0.984 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.5914, allocations: 4.031 kB / 0.9841 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5914, allocations: 3.984 kB / 0.9841 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.5915, allocations: 153.7 kB / 0.9842 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.5915, allocations: 0 / 0.9842 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.623e-05/0.5916, allocations: 7.938 kB / 0.9842 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5916, allocations: 0 / 0.9842 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.5916, allocations: 3.953 kB / 0.9842 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.5916, allocations: 0 / 0.9842 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5916, allocations: 4 kB / 0.9842 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.094e-05/0.5917, allocations: 139.5 kB / 0.9844 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.5917, allocations: 77.11 kB / 0.9844 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.5918, allocations: 3.984 kB / 0.9844 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.458e-05/0.5918, allocations: 7.953 kB / 0.9844 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.5918, allocations: 0 / 0.9844 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.5918, allocations: 0 / 0.9844 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.088e-05/0.5919, allocations: 87.28 kB / 0.9845 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.563e-06/0.5919, allocations: 0 / 0.9845 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002285/0.5921, allocations: 15.95 kB / 0.9845 GB, free: 2.398 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0004594/0.5926, allocations: 0.6908 MB / 0.9852 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.477e-05/0.5927, allocations: 8.031 kB / 0.9852 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5927, allocations: 0 / 0.9852 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.554e-06/0.5927, allocations: 4 kB / 0.9852 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.5929, allocations: 3.953 kB / 0.9852 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/0.5934, allocations: 373.8 kB / 0.9856 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.5937, allocations: 0.6771 MB / 0.9862 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.939e-05/0.5937, allocations: 7.984 kB / 0.9862 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.5938, allocations: 11.44 kB / 0.9863 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.5938, allocations: 4 kB / 0.9863 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01022/0.604, allocations: 1.186 MB / 0.9874 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/0.6042, allocations: 181.3 kB / 0.9876 GB, free: 15.23 MB / 0.7481 GB Error: Error building simulator. Build log: clang -Os -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/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/C-Sources" -c -o Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule.o Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule.c In file included from Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule.c:7: In file included from ./Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/C-Sources" -c -o Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule_functions.o Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule_functions.c In file included from Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule_functions.c:2: In file included from ./Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule_functions.c:7: In file included from ./Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/C-Sources/WeeklySchedule.c:20:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule_functions.o] Error 1