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.001434/0.001434, allocations: 99.23 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.001642/0.001642, 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.414/2.414, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.33/4.33, allocations: 409.2 MB / 0.6838 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005929/0.000593, allocations: 8 kB / 0.8375 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.029, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002129/1.031, allocations: 1.071 MB / 0.9819 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001695/1.031, allocations: 39.84 kB / 0.9819 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.301e-05/1.031, allocations: 0 / 0.9819 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001916/1.031, allocations: 7.938 kB / 0.9819 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/1.032, allocations: 11.98 kB / 0.982 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.667e-06/1.032, allocations: 0 / 0.982 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.335e-05/1.032, allocations: 7.984 kB / 0.982 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.827e-05/1.032, allocations: 4 kB / 0.982 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.428e-05/1.032, allocations: 3.938 kB / 0.982 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.935e-05/1.032, allocations: 15.97 kB / 0.982 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/1.032, allocations: 0 / 0.982 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.093e-05/1.032, allocations: 7.938 kB / 0.982 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/1.032, allocations: 7.938 kB / 0.982 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/1.032, allocations: 29.7 kB / 0.982 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.893e-05/1.032, allocations: 15.98 kB / 0.982 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.032, allocations: 0 / 0.982 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.215e-06/1.032, allocations: 0 / 0.982 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.779e-06/1.032, allocations: 0 / 0.982 GB, free: 5.094 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.0005524/1.033, allocations: 325.6 kB / 0.9824 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.548e-05/1.033, allocations: 12.03 kB / 0.9824 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.28e-05/1.033, allocations: 34.55 kB / 0.9824 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/1.033, allocations: 3.906 kB / 0.9824 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/1.033, allocations: 171.1 kB / 0.9826 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/1.033, allocations: 4 kB / 0.9826 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/1.033, allocations: 7.938 kB / 0.9826 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/1.034, allocations: 37.64 kB / 0.9826 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/1.034, allocations: 0 / 0.9826 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/1.034, allocations: 0 / 0.9826 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/1.034, allocations: 4 kB / 0.9826 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.846e-05/1.034, allocations: 8 kB / 0.9826 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/1.034, allocations: 244.9 kB / 0.9829 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.801e-05/1.034, allocations: 28.77 kB / 0.9829 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/1.034, allocations: 3.938 kB / 0.9829 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/1.034, allocations: 30.56 kB / 0.9829 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/1.034, allocations: 0 / 0.9829 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001862/1.034, allocations: 45.66 kB / 0.983 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/1.034, allocations: 55.34 kB / 0.983 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/1.035, allocations: 121.9 kB / 0.9831 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/1.035, allocations: 29.7 kB / 0.9832 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/1.035, allocations: 84.14 kB / 0.9832 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.02e-05/1.035, allocations: 0 / 0.9832 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/1.035, allocations: 0 / 0.9832 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.035, allocations: 314.8 kB / 0.9835 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/1.035, allocations: 0 / 0.9835 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.254e-05/1.035, allocations: 7.984 kB / 0.9836 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.236e-05/1.035, allocations: 4.062 kB / 0.9836 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.035, allocations: 0 / 0.9836 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.981e-05/1.035, allocations: 41.56 kB / 0.9836 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.035, allocations: 4 kB / 0.9836 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/1.035, allocations: 0 / 0.9836 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/1.035, allocations: 4 kB / 0.9836 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.659e-05/1.035, allocations: 0 / 0.9836 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/1.035, allocations: 3.984 kB / 0.9836 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/1.035, allocations: 0 / 0.9836 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/1.035, allocations: 0 / 0.9836 GB, free: 3.273 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.0001027/1.035, allocations: 121.8 kB / 0.9837 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/1.035, allocations: 3.953 kB / 0.9837 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/1.035, allocations: 41.22 kB / 0.9838 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/1.035, allocations: 0 / 0.9838 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.035, allocations: 0 / 0.9838 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/1.035, allocations: 0 / 0.9838 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/1.036, allocations: 157.7 kB / 0.9839 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.036, allocations: 0 / 0.9839 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-05/1.036, allocations: 0 / 0.9839 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/1.036, allocations: 4.031 kB / 0.9839 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/1.036, allocations: 3.953 kB / 0.9839 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.036, allocations: 4 kB / 0.9839 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.036, allocations: 0 / 0.9839 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/1.036, allocations: 143.3 kB / 0.9841 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/1.036, allocations: 77.11 kB / 0.9841 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/1.036, allocations: 3.984 kB / 0.9841 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/1.036, allocations: 3.984 kB / 0.9841 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/1.036, allocations: 7.984 kB / 0.9842 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/1.036, allocations: 4 kB / 0.9842 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001827/1.036, allocations: 91.28 kB / 0.9842 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/1.036, allocations: 0 / 0.9842 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003759/1.037, allocations: 4 kB / 0.9842 GB, free: 2.516 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.0007403/1.037, allocations: 0.6927 MB / 0.9849 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.325e-05/1.038, allocations: 4 kB / 0.9849 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.038, allocations: 0 / 0.9849 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/1.038, allocations: 4 kB / 0.9849 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/1.038, allocations: 9.203 kB / 0.9849 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008274/1.039, allocations: 362.6 kB / 0.9853 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/1.039, allocations: 0.6809 MB / 0.986 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.607e-05/1.039, allocations: 12.55 kB / 0.986 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/1.039, allocations: 11.44 kB / 0.986 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/1.039, allocations: 0 / 0.986 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.597/1.636, allocations: 1.172 MB / 0.9871 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003736/1.637, allocations: 188.2 kB / 0.9873 GB, free: 15.35 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_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: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_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: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_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