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.001936/0.001936, allocations: 98.38 kB / 15.05 MB, free: 1.105 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.001969/0.001969, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.469/2.469, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.412/4.412, allocations: 409.2 MB / 0.6838 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006046/0.0006049, allocations: 8 kB / 0.8375 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359/1.36, allocations: 146.8 MB / 0.9809 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002905/1.363, allocations: 1.081 MB / 0.9819 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002869/1.363, allocations: 43.78 kB / 0.982 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/1.363, allocations: 3.938 kB / 0.982 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002458/1.364, allocations: 7.938 kB / 0.982 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001774/1.364, allocations: 15.97 kB / 0.982 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.09e-06/1.364, allocations: 0 / 0.982 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.753e-05/1.364, allocations: 4 kB / 0.982 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/1.364, allocations: 8 kB / 0.982 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.214e-05/1.364, allocations: 11.91 kB / 0.982 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.03e-05/1.364, allocations: 8 kB / 0.982 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/1.364, allocations: 0 / 0.982 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.141e-05/1.364, allocations: 8 kB / 0.982 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.784e-05/1.364, allocations: 7.875 kB / 0.982 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/1.364, allocations: 25.7 kB / 0.9821 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/1.365, allocations: 23.95 kB / 0.9821 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.365, allocations: 0 / 0.9821 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.675e-06/1.365, allocations: 0 / 0.9821 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.131e-06/1.365, allocations: 0 / 0.9821 GB, free: 5.148 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.0006469/1.365, allocations: 337.7 kB / 0.9824 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.9e-05/1.365, allocations: 8.031 kB / 0.9824 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.445e-05/1.365, allocations: 30.56 kB / 0.9824 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/1.366, allocations: 7.906 kB / 0.9824 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/1.366, allocations: 171.1 kB / 0.9826 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/1.366, allocations: 0 / 0.9826 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/1.366, allocations: 3.984 kB / 0.9826 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/1.366, allocations: 37.59 kB / 0.9827 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/1.366, allocations: 0 / 0.9827 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/1.366, allocations: 4 kB / 0.9827 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/1.366, allocations: 0 / 0.9827 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.339e-05/1.366, allocations: 4 kB / 0.9827 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/1.366, allocations: 153.7 kB / 0.9828 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.179e-05/1.367, allocations: 18.56 kB / 0.9828 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/1.367, allocations: 3.938 kB / 0.9828 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/1.367, allocations: 42.56 kB / 0.9829 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/1.367, allocations: 4 kB / 0.9829 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0002211/1.367, allocations: 41.64 kB / 0.9829 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/1.367, allocations: 51.41 kB / 0.983 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/1.367, allocations: 113.8 kB / 0.9831 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/1.367, allocations: 25.7 kB / 0.9831 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/1.367, allocations: 84.14 kB / 0.9832 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/1.367, allocations: 11.84 kB / 0.9832 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/1.367, allocations: 0 / 0.9832 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.367, allocations: 319 kB / 0.9835 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/1.368, allocations: 3.938 kB / 0.9835 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.816e-05/1.368, allocations: 11.94 kB / 0.9835 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.248e-05/1.368, allocations: 0 / 0.9835 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/1.368, allocations: 0 / 0.9835 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001082/1.368, allocations: 37.69 kB / 0.9835 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/1.368, allocations: 4 kB / 0.9835 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.368, allocations: 0 / 0.9835 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/1.368, allocations: 4.094 kB / 0.9835 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.299e-05/1.368, allocations: 7.953 kB / 0.9836 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/1.368, allocations: 0 / 0.9836 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/1.368, allocations: 0 / 0.9836 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/1.368, allocations: 0 / 0.9836 GB, free: 3.418 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 0.0001245/1.368, allocations: 113.8 kB / 0.9837 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/1.368, allocations: 3.906 kB / 0.9837 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/1.368, allocations: 49.16 kB / 0.9837 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.368, allocations: 0 / 0.9837 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/1.368, allocations: 7.984 kB / 0.9837 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.368, allocations: 0 / 0.9837 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/1.368, allocations: 157.7 kB / 0.9839 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.369, allocations: 3.984 kB / 0.9839 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/1.369, allocations: 0 / 0.9839 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/1.369, allocations: 0 / 0.9839 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/1.369, allocations: 0 / 0.9839 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/1.369, allocations: 0 / 0.9839 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/1.369, allocations: 8 kB / 0.9839 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/1.369, allocations: 72.97 kB / 0.984 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/1.369, allocations: 85 kB / 0.984 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/1.369, allocations: 0 / 0.984 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.692e-05/1.369, allocations: 0 / 0.984 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.06e-05/1.369, allocations: 0 / 0.984 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/1.369, allocations: 4 kB / 0.984 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.421e-05/1.369, allocations: 91.58 kB / 0.9841 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/1.369, allocations: 0 / 0.9841 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004033/1.369, allocations: 7.953 kB / 0.9841 GB, free: 2.723 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.0007105/1.37, allocations: 0.6134 MB / 0.9847 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.828e-05/1.37, allocations: 11.97 kB / 0.9847 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.37, allocations: 0 / 0.9847 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.61e-05/1.37, allocations: 4 kB / 0.9847 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/1.371, allocations: 3.984 kB / 0.9848 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009654/1.372, allocations: 374.7 kB / 0.9851 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/1.372, allocations: 0.6809 MB / 0.9858 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001125/1.372, allocations: 11.92 kB / 0.9858 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/1.372, allocations: 7.438 kB / 0.9858 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/1.372, allocations: 4 kB / 0.9858 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/1.391, allocations: 1.198 MB / 0.987 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003409/1.392, allocations: 196.6 kB / 0.9872 GB, free: 15.62 MB / 0.7481 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 -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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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