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.00192/0.001919, allocations: 100 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.001895/0.001895, allocations: 177.3 kB / 15.95 MB, free: 216 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.435/2.435, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.371/4.371, allocations: 409.2 MB / 0.6838 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005889/0.000589, allocations: 12 kB / 0.8375 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162/1.162, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002907/1.165, allocations: 1.183 MB / 0.982 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002355/1.167, allocations: 1.025 MB / 0.983 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.623e-05/1.168, allocations: 7.938 kB / 0.983 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002088/1.168, allocations: 7.922 kB / 0.983 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002431/1.168, allocations: 31.91 kB / 0.9831 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/1.168, allocations: 58.36 kB / 0.9831 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002369/1.169, allocations: 83.81 kB / 0.9832 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/1.169, allocations: 57.25 kB / 0.9833 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/1.169, allocations: 63.83 kB / 0.9833 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/1.169, allocations: 43.77 kB / 0.9834 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/1.169, allocations: 4 kB / 0.9834 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.733e-05/1.17, allocations: 16 kB / 0.9834 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/1.17, allocations: 43.81 kB / 0.9834 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.637e-05/1.17, allocations: 45.58 kB / 0.9835 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/1.17, allocations: 134 kB / 0.9836 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.17, allocations: 0 / 0.9836 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.454e-06/1.17, allocations: 0 / 0.9836 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.811e-06/1.17, allocations: 0 / 0.9836 GB, free: 3.52 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.001014/1.171, allocations: 462.6 kB / 0.984 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/1.171, allocations: 8.031 kB / 0.984 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.374e-05/1.171, allocations: 38.56 kB / 0.9841 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.517e-05/1.171, allocations: 19.72 kB / 0.9841 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/1.172, allocations: 254.7 kB / 0.9843 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002488/1.172, allocations: 122.8 kB / 0.9845 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/1.172, allocations: 11.94 kB / 0.9845 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000618/1.173, allocations: 161.5 kB / 0.9846 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/1.173, allocations: 0 / 0.9846 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.149e-05/1.173, allocations: 11.92 kB / 0.9846 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/1.173, allocations: 8 kB / 0.9846 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/1.173, allocations: 47.91 kB / 0.9847 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/1.175, allocations: 476.4 kB / 0.9851 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/1.175, allocations: 42.5 kB / 0.9852 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/1.175, allocations: 4 kB / 0.9852 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/1.175, allocations: 30.56 kB / 0.9852 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.763e-06/1.175, allocations: 0 / 0.9852 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0004322/1.176, allocations: 105.6 kB / 0.9853 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/1.176, allocations: 59.39 kB / 0.9854 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003741/1.176, allocations: 215.6 kB / 0.9856 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/1.176, allocations: 29.7 kB / 0.9856 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/1.176, allocations: 128.1 kB / 0.9857 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/1.176, allocations: 23.64 kB / 0.9858 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/1.176, allocations: 4 kB / 0.9858 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000194/1.177, allocations: 330.8 kB / 0.9861 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.724e-05/1.177, allocations: 23.97 kB / 0.9861 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/1.177, allocations: 102.3 kB / 0.9862 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/1.177, allocations: 47.91 kB / 0.9862 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.177, allocations: 0 / 0.9862 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004205/1.177, allocations: 149.2 kB / 0.9864 GB, free: 380 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/1.178, allocations: 8.375 kB / 0.9864 GB, free: 372 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.178, allocations: 4 kB / 0.9864 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/1.178, allocations: 4 kB / 0.9864 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/1.178, allocations: 27.98 kB / 0.9864 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/1.178, allocations: 7.938 kB / 0.9864 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/1.178, allocations: 7.906 kB / 0.9864 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/1.178, allocations: 11.94 kB / 0.9865 GB, free: 308 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.0002391/1.178, allocations: 149.7 kB / 0.9866 GB, free: 148 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.115e-05/1.178, allocations: 15.81 kB / 0.9866 GB, free: 132 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/1.179, allocations: 127 kB / 0.9867 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.179, allocations: 0 / 0.9867 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.179, allocations: 0 / 0.9867 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.179, allocations: 0 / 0.9867 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/1.179, allocations: 237.5 kB / 0.987 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/1.179, allocations: 4 kB / 0.987 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.112e-05/1.179, allocations: 12 kB / 0.987 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/1.179, allocations: 4 kB / 0.987 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/1.179, allocations: 3.984 kB / 0.987 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.179, allocations: 0 / 0.987 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.18, allocations: 4 kB / 0.987 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/1.18, allocations: 187.6 kB / 0.9872 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/1.18, allocations: 100.9 kB / 0.9873 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/1.18, allocations: 0 / 0.9873 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004583/1.181, allocations: 31.95 kB / 0.9873 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/1.181, allocations: 4 kB / 0.9873 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.487e-05/1.181, allocations: 19.97 kB / 0.9873 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002506/1.181, allocations: 152.2 kB / 0.9875 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.01e-07/1.181, allocations: 0 / 0.9875 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006377/1.182, allocations: 32 kB / 0.9875 GB, free: 15.14 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.001146/1.183, allocations: 0.7503 MB / 0.9882 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000313/1.183, allocations: 68.39 kB / 0.9883 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.183, allocations: 4.188 kB / 0.9883 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.95e-05/1.183, allocations: 27.98 kB / 0.9883 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/1.184, allocations: 12 kB / 0.9883 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/1.186, allocations: 2.256 MB / 0.9905 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/1.187, allocations: 0.7432 MB / 0.9913 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002026/1.187, allocations: 56.72 kB / 0.9913 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/1.187, allocations: 43.42 kB / 0.9914 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/1.187, allocations: 0 / 0.9914 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/1.215, allocations: 3.875 MB / 0.9951 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004705/1.215, allocations: 187.2 kB / 0.9953 GB, free: 7.09 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_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: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_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: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_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