Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Cryptographics.Validation.SHA1.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1",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.0009547/0.0009551, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.00124/0.00124, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.4 MB / 222.1 MB, free: 5.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.947/1.947, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005253/0.0005255, allocations: 15.53 kB / 0.6738 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2381, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0006834/0.2388, allocations: 266 kB / 0.7876 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003853/0.2392, allocations: 144.2 kB / 0.7878 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.2392, allocations: 4 kB / 0.7878 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.2393, allocations: 0 / 0.7878 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.2395, allocations: 7.938 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.425e-05/0.2395, allocations: 23.97 kB / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.667e-05/0.2396, allocations: 19.92 kB / 0.7878 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.2396, allocations: 4 kB / 0.7878 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.623e-05/0.2397, allocations: 11.88 kB / 0.7878 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003668/0.24, allocations: 321.2 kB / 0.7882 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.2401, allocations: 0 / 0.7882 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.425e-05/0.2401, allocations: 23.92 kB / 0.7882 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.2402, allocations: 4 kB / 0.7882 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.2402, allocations: 25.7 kB / 0.7882 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.087e-05/0.2403, allocations: 23.97 kB / 0.7882 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2403, allocations: 0 / 0.7882 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2403, allocations: 0 / 0.7882 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.2403, allocations: 4 kB / 0.7882 GB, free: 11 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002894/0.2406, allocations: 347.4 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2406, allocations: 8.031 kB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.2407, allocations: 34.5 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.221e-05/0.2407, allocations: 8 kB / 0.7886 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.2408, allocations: 174.9 kB / 0.7888 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.2408, allocations: 4 kB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.2408, allocations: 4 kB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.241, allocations: 45.67 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.241, allocations: 0 / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.241, allocations: 0 / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.85e-06/0.241, allocations: 4 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.665e-05/0.241, allocations: 23.92 kB / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.2414, allocations: 272.9 kB / 0.7891 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.536e-05/0.2414, allocations: 18.58 kB / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.2414, allocations: 8.844 kB / 0.7891 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-06/0.2414, allocations: 0 / 0.7891 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.2415, allocations: 34.62 kB / 0.7892 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.2415, allocations: 0 / 0.7892 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001289/0.2416, allocations: 45.64 kB / 0.7892 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.2417, allocations: 59.36 kB / 0.7893 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.2418, allocations: 136.6 kB / 0.7894 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.2418, allocations: 25.7 kB / 0.7894 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.2418, allocations: 107.9 kB / 0.7895 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.89e-06/0.2419, allocations: 0 / 0.7895 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.2419, allocations: 4 kB / 0.7895 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.909e-05/0.242, allocations: 314.8 kB / 0.7898 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.441e-05/0.242, allocations: 11.98 kB / 0.7898 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.917e-05/0.242, allocations: 16.03 kB / 0.7899 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.33e-05/0.242, allocations: 4 kB / 0.7899 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.242, allocations: 0 / 0.7899 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.622e-05/0.2421, allocations: 61.62 kB / 0.7899 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2422, allocations: 8 kB / 0.7899 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2422, allocations: 0 / 0.7899 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2422, allocations: 3.984 kB / 0.7899 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.933e-05/0.2422, allocations: 0 / 0.7899 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2422, allocations: 4 kB / 0.7899 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.411e-05/0.2423, allocations: 8.047 kB / 0.7899 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-06/0.2423, allocations: 4 kB / 0.79 GB, free: 9.016 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (cmpAll,cmp1,cmp2,cmp3,cmp4,cmp5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.012e-05/0.2423, allocations: 121.6 kB / 0.7901 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.2424, allocations: 7.906 kB / 0.7901 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.2424, allocations: 7.516 kB / 0.7901 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.2424, allocations: 0 / 0.7901 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2424, allocations: 0 / 0.7901 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2424, allocations: 0 / 0.7901 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.2427, allocations: 366.7 kB / 0.7904 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2427, allocations: 3.984 kB / 0.7904 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-06/0.2427, allocations: 4 kB / 0.7904 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2427, allocations: 3.984 kB / 0.7904 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.2427, allocations: 0 / 0.7904 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2427, allocations: 0 / 0.7904 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.2427, allocations: 3.953 kB / 0.7904 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.463e-05/0.2428, allocations: 61.08 kB / 0.7905 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.2429, allocations: 93.06 kB / 0.7906 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.2429, allocations: 0 / 0.7906 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.146e-05/0.2429, allocations: 3.938 kB / 0.7906 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.2429, allocations: 7.938 kB / 0.7906 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.2429, allocations: 3.938 kB / 0.7906 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.206e-05/0.243, allocations: 103.3 kB / 0.7907 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.243, allocations: 0 / 0.7907 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002099/0.2432, allocations: 8 kB / 0.7907 GB, free: 8.121 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmpAll) * 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.0004849/0.2437, allocations: 0.6209 MB / 0.7913 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.485e-05/0.2438, allocations: 27.92 kB / 0.7913 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2438, allocations: 0 / 0.7913 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.346e-06/0.2438, allocations: 8.031 kB / 0.7914 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.244, allocations: 0 / 0.7914 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.2443, allocations: 152.3 kB / 0.7915 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.2445, allocations: 0.6809 MB / 0.7922 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.063e-05/0.2446, allocations: 8.125 kB / 0.7922 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.2446, allocations: 23.48 kB / 0.7922 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2446, allocations: 0 / 0.7922 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.2582, allocations: 1.344 MB / 0.7935 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002633/0.2586, allocations: 222.6 kB / 0.7937 GB, free: 5.059 MB / 0.6075 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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1.o Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1.c In file included from Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1.c:7: In file included from ./Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1_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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.o Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c In file included from Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c:2: In file included from ./Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1_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_8_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c:7: In file included from ./Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/cryptographicsHash.c:27:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.o] Error 1