Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",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.0007716/0.0007718, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008452/0.0008452, allocations: 172.7 kB / 15.95 MB, free: 208 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.314/1.314, allocations: 223.2 MB / 240 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.435/2.435, allocations: 409.4 MB / 0.684 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.0003141, allocations: 8 kB / 0.8378 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6066/0.607, allocations: 146.8 MB / 0.9811 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001359/0.6084, allocations: 1.079 MB / 0.9822 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001186/0.6085, allocations: 38.2 kB / 0.9822 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.6085, allocations: 0 / 0.9822 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.6087, allocations: 11.94 kB / 0.9822 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.176e-05/0.6088, allocations: 19.92 kB / 0.9823 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 2.705e-06/0.6088, allocations: 0 / 0.9823 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.865e-05/0.6088, allocations: 11.94 kB / 0.9823 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.6089, allocations: 4 kB / 0.9823 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.455e-05/0.6089, allocations: 7.984 kB / 0.9823 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.034e-05/0.609, allocations: 7.922 kB / 0.9823 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.609, allocations: 4 kB / 0.9823 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.773e-05/0.609, allocations: 8 kB / 0.9823 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.6091, allocations: 4 kB / 0.9823 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.6091, allocations: 33.64 kB / 0.9823 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.569e-05/0.6092, allocations: 19.97 kB / 0.9824 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6092, allocations: 0 / 0.9824 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6092, allocations: 3.938 kB / 0.9824 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.327e-06/0.6092, allocations: 0 / 0.9824 GB, free: 5.047 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.0002576/0.6094, allocations: 333.5 kB / 0.9827 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.6095, allocations: 12.03 kB / 0.9827 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.566e-05/0.6095, allocations: 30.56 kB / 0.9827 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.988e-05/0.6095, allocations: 3.906 kB / 0.9827 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.6097, allocations: 175 kB / 0.9829 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.6097, allocations: 3.984 kB / 0.9829 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.6097, allocations: 4 kB / 0.9829 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.613e-05/0.6098, allocations: 33.66 kB / 0.9829 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.6098, allocations: 0 / 0.9829 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.6098, allocations: 4 kB / 0.9829 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.6098, allocations: 0 / 0.9829 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.6099, allocations: 3.938 kB / 0.9829 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.61, allocations: 153.7 kB / 0.9831 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.385e-05/0.61, allocations: 22.61 kB / 0.9831 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.342e-05/0.6101, allocations: 4.859 kB / 0.9831 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.6101, allocations: 3.984 kB / 0.9831 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.6101, allocations: 38.62 kB / 0.9831 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.6101, allocations: 0 / 0.9831 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001126/0.6102, allocations: 41.59 kB / 0.9832 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.6103, allocations: 55.53 kB / 0.9832 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.141e-05/0.6104, allocations: 117.8 kB / 0.9834 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.6104, allocations: 25.7 kB / 0.9834 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/0.6104, allocations: 84.14 kB / 0.9835 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.6105, allocations: 15.83 kB / 0.9835 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-06/0.6105, allocations: 0 / 0.9835 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.498e-05/0.6106, allocations: 310.8 kB / 0.9838 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.105e-05/0.6106, allocations: 4 kB / 0.9838 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-06/0.6106, allocations: 4 kB / 0.9838 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.226e-05/0.6106, allocations: 4.062 kB / 0.9838 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.6106, allocations: 0 / 0.9838 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.517e-05/0.6107, allocations: 41.62 kB / 0.9838 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.6107, allocations: 5.875 kB / 0.9838 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6107, allocations: 0 / 0.9838 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.6107, allocations: 11.89 kB / 0.9838 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.164e-05/0.6108, allocations: 3.984 kB / 0.9838 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.6108, allocations: 0 / 0.9838 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.197e-05/0.6108, allocations: 0 / 0.9838 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.6108, allocations: 4.031 kB / 0.9838 GB, free: 3.297 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.177e-05/0.6109, allocations: 113.8 kB / 0.984 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-06/0.6109, allocations: 3.906 kB / 0.984 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.998e-05/0.611, allocations: 53.09 kB / 0.984 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.611, allocations: 0 / 0.984 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.611, allocations: 3.953 kB / 0.984 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.611, allocations: 0 / 0.984 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.708e-05/0.6111, allocations: 165.7 kB / 0.9842 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6111, allocations: 0 / 0.9842 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.269e-05/0.6111, allocations: 4.031 kB / 0.9842 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6111, allocations: 0 / 0.9842 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.6111, allocations: 0 / 0.9842 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.6111, allocations: 0 / 0.9842 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.6111, allocations: 4 kB / 0.9842 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.535e-05/0.6112, allocations: 65.08 kB / 0.9842 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.6113, allocations: 81.02 kB / 0.9843 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.6113, allocations: 4.031 kB / 0.9843 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-06/0.6113, allocations: 0 / 0.9843 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.6113, allocations: 0 / 0.9843 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.6113, allocations: 4 kB / 0.9843 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.01e-05/0.6114, allocations: 99.16 kB / 0.9844 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6114, allocations: 0 / 0.9844 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001872/0.6116, allocations: 4 kB / 0.9844 GB, free: 2.602 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.0003649/0.6119, allocations: 0.6153 MB / 0.985 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.87e-05/0.612, allocations: 4 kB / 0.985 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.612, allocations: 0 / 0.985 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.109e-05/0.612, allocations: 11.92 kB / 0.985 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.6122, allocations: 7.25 kB / 0.985 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.6127, allocations: 373.6 kB / 0.9854 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.6129, allocations: 0.6771 MB / 0.9861 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.354e-05/0.6129, allocations: 7.984 kB / 0.9861 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.613, allocations: 15.38 kB / 0.9861 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.613, allocations: 4 kB / 0.9861 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009698/0.6227, allocations: 1.21 MB / 0.9873 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/0.6229, allocations: 197.7 kB / 0.9875 GB, free: 15.5 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_Examples_WeeklySchedule7to19.o Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.c In file included from Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.c:7: In file included from ./Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_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_Examples_WeeklySchedule7to19_functions.o Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_functions.c In file included from Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_functions.c:2: In file included from ./Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_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_Examples_WeeklySchedule7to19_functions.c:7: In file included from ./Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_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_Examples_WeeklySchedule7to19_functions.o] Error 1