Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.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.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_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.001066/0.001066, allocations: 92.31 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.001425/0.001425, 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.321/1.321, allocations: 223.3 MB / 240 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.399/2.399, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003374, allocations: 8 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5897/0.59, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001592/0.5917, allocations: 1.186 MB / 0.9823 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.5929, allocations: 1.043 MB / 0.9833 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.593, allocations: 3.938 kB / 0.9833 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.5931, allocations: 11.94 kB / 0.9833 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.5933, allocations: 23.91 kB / 0.9833 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.5935, allocations: 70.33 kB / 0.9834 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.5937, allocations: 123.6 kB / 0.9835 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.5938, allocations: 49.28 kB / 0.9836 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.466e-05/0.5939, allocations: 63.77 kB / 0.9836 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.594, allocations: 47.77 kB / 0.9837 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.5941, allocations: 7.938 kB / 0.9837 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.894e-05/0.5941, allocations: 12 kB / 0.9837 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.5942, allocations: 51.81 kB / 0.9838 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.5943, allocations: 41.64 kB / 0.9838 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.5944, allocations: 138 kB / 0.9839 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5944, allocations: 4 kB / 0.9839 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5944, allocations: 0 / 0.9839 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.5945, allocations: 0 / 0.9839 GB, free: 3.379 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005856/0.595, allocations: 462.6 kB / 0.9844 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.5951, allocations: 8.031 kB / 0.9844 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.21e-05/0.5951, allocations: 46.55 kB / 0.9844 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.5952, allocations: 19.72 kB / 0.9844 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.5955, allocations: 246.7 kB / 0.9847 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.5956, allocations: 122.8 kB / 0.9848 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.5956, allocations: 7.938 kB / 0.9848 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.5959, allocations: 169.5 kB / 0.985 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.596, allocations: 0 / 0.985 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.596, allocations: 4 kB / 0.985 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.596, allocations: 11.94 kB / 0.985 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.994e-05/0.5961, allocations: 49.31 kB / 0.985 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009014/0.597, allocations: 476.4 kB / 0.9855 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.276e-05/0.5971, allocations: 38.5 kB / 0.9855 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.5971, allocations: 28.84 kB / 0.9855 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.5972, allocations: 0 / 0.9855 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.5972, allocations: 38.56 kB / 0.9856 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.5972, allocations: 0 / 0.9856 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0002345/0.5974, allocations: 109.6 kB / 0.9857 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.5975, allocations: 55.34 kB / 0.9857 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.5977, allocations: 211.7 kB / 0.9859 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.5977, allocations: 29.7 kB / 0.986 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.5978, allocations: 128.1 kB / 0.9861 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.5978, allocations: 23.66 kB / 0.9861 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.5978, allocations: 4 kB / 0.9861 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.5979, allocations: 330.8 kB / 0.9864 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.927e-05/0.598, allocations: 27.97 kB / 0.9865 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.563e-05/0.5981, allocations: 98.28 kB / 0.9866 GB, free: 412 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.669e-05/0.5981, allocations: 39.92 kB / 0.9866 GB, free: 372 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5982, allocations: 0 / 0.9866 GB, free: 372 kB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002175/0.5984, allocations: 153.2 kB / 0.9867 GB, free: 212 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.5984, allocations: 8 kB / 0.9867 GB, free: 204 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5984, allocations: 4 kB / 0.9868 GB, free: 200 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.5984, allocations: 7.938 kB / 0.9868 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.278e-05/0.5985, allocations: 24.3 kB / 0.9868 GB, free: 168 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.5985, allocations: 8 kB / 0.9868 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.057e-05/0.5986, allocations: 11.91 kB / 0.9868 GB, free: 148 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.5986, allocations: 8 kB / 0.9868 GB, free: 140 kB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.0001366/0.5988, allocations: 145.7 kB / 0.9869 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.5988, allocations: 19.81 kB / 0.987 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.599, allocations: 123 kB / 0.9871 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.5991, allocations: 0 / 0.9871 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.5991, allocations: 8 kB / 0.9871 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.5991, allocations: 0 / 0.9871 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.5993, allocations: 237.5 kB / 0.9873 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5993, allocations: 0 / 0.9873 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.843e-05/0.5994, allocations: 12 kB / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5994, allocations: 3.984 kB / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.5994, allocations: 4 kB / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5994, allocations: 0 / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5994, allocations: 4 kB / 0.9873 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.5996, allocations: 191.2 kB / 0.9875 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.5996, allocations: 96.86 kB / 0.9876 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.5997, allocations: 0 / 0.9876 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.5999, allocations: 31.97 kB / 0.9876 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.5999, allocations: 7.984 kB / 0.9877 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.6, allocations: 11.98 kB / 0.9877 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001292/0.6001, allocations: 156.2 kB / 0.9878 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6001, allocations: 4 kB / 0.9878 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002968/0.6004, allocations: 24 kB / 0.9878 GB, free: 14.98 MB / 0.7481 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 (8): * Single equations (assignments): 8 * 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.0004972/0.6009, allocations: 0.7507 MB / 0.9886 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001467/0.6011, allocations: 75.77 kB / 0.9886 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6011, allocations: 0 / 0.9886 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.72e-05/0.6011, allocations: 24.73 kB / 0.9887 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.6014, allocations: 20 kB / 0.9887 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.6026, allocations: 0.9547 MB / 0.9896 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.6029, allocations: 0.7355 MB / 0.9903 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.603, allocations: 52.73 kB / 0.9904 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.6031, allocations: 47.41 kB / 0.9904 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of SimCode: time 3.7e-07/0.6031, allocations: 0 / 0.9904 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/0.6169, allocations: 3.935 MB / 0.9943 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/0.6171, allocations: 196.2 kB / 0.9945 GB, free: 8.188 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_WeeklySchedule.o Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.c In file included from Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.c:7: In file included from ./Buildings_latest_Buildings_Utilities_IO_Files_Examples_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_Examples_WeeklySchedule_functions.o Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_functions.c In file included from Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_functions.c:2: In file included from ./Buildings_latest_Buildings_Utilities_IO_Files_Examples_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_Examples_WeeklySchedule_functions.c:7: In file included from ./Buildings_latest_Buildings_Utilities_IO_Files_Examples_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_Examples_WeeklySchedule_functions.o] Error 1