Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.69/1.69, allocations: 288.4 MB / 303.3 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 182.8 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.4 MB / 0.6307 GB, free: 9.938 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007405/0.0007405, allocations: 90.3 kB / 0.744 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003913, allocations: 11.16 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2118, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0006099/0.2124, allocations: 258.3 kB / 0.9799 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003601/0.2128, allocations: 144.2 kB / 0.98 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.179e-05/0.2128, allocations: 0 / 0.98 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.2128, allocations: 3.938 kB / 0.98 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.213, allocations: 11.94 kB / 0.98 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.585e-05/0.2131, allocations: 23.98 kB / 0.98 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.053e-05/0.2131, allocations: 19.92 kB / 0.9801 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.2132, allocations: 7.984 kB / 0.9801 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.055e-05/0.2132, allocations: 7.938 kB / 0.9801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.2135, allocations: 309.5 kB / 0.9804 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.2135, allocations: 0 / 0.9804 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.822e-05/0.2136, allocations: 8 kB / 0.9804 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.2136, allocations: 11.94 kB / 0.9804 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.614e-05/0.2136, allocations: 25.7 kB / 0.9804 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.821e-05/0.2137, allocations: 27.95 kB / 0.9804 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2137, allocations: 4 kB / 0.9805 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2137, allocations: 0 / 0.9805 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2137, allocations: 4 kB / 0.9805 GB, free: 26.74 MB / 0.6198 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.0002355/0.214, allocations: 339.5 kB / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.214, allocations: 8.031 kB / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.758e-05/0.2141, allocations: 30.56 kB / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.268e-05/0.2141, allocations: 8 kB / 0.9808 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.135e-05/0.2142, allocations: 186.7 kB / 0.981 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.2142, allocations: 0 / 0.981 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.2142, allocations: 12 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.2143, allocations: 45.67 kB / 0.9811 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.2143, allocations: 0 / 0.9811 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.2143, allocations: 0 / 0.9811 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2143, allocations: 0 / 0.9811 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.947e-05/0.2144, allocations: 16 kB / 0.9811 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/0.2147, allocations: 272.9 kB / 0.9813 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.005e-05/0.2147, allocations: 26.52 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.261e-05/0.2147, allocations: 4.859 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.992e-06/0.2147, allocations: 3.984 kB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.2147, allocations: 34.62 kB / 0.9814 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.2147, allocations: 3.938 kB / 0.9814 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001096/0.2149, allocations: 37.59 kB / 0.9814 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.2149, allocations: 67.3 kB / 0.9815 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.687e-05/0.215, allocations: 131.2 kB / 0.9816 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.215, allocations: 29.7 kB / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.215, allocations: 99.89 kB / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.059e-06/0.215, allocations: 0 / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.215, allocations: 0 / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.399e-05/0.2151, allocations: 322.8 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.925e-05/0.2151, allocations: 8 kB / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.665e-05/0.2151, allocations: 11.98 kB / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.21e-05/0.2152, allocations: 8 kB / 0.9821 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2152, allocations: 0 / 0.9821 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.1e-05/0.2153, allocations: 61.69 kB / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.2153, allocations: 9.406 kB / 0.9822 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.2153, allocations: 0 / 0.9822 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.2153, allocations: 0 / 0.9822 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.848e-05/0.2153, allocations: 3.938 kB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2153, allocations: 4 kB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.5e-05/0.2154, allocations: 7.859 kB / 0.9822 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.2154, allocations: 3.984 kB / 0.9822 GB, free: 24.76 MB / 0.6198 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 4.993e-05/0.2154, allocations: 113.8 kB / 0.9823 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.2155, allocations: 15.84 kB / 0.9823 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.514e-05/0.2155, allocations: 3.531 kB / 0.9823 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.2155, allocations: 0 / 0.9823 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2155, allocations: 0 / 0.9823 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.2155, allocations: 0 / 0.9823 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.2157, allocations: 362.9 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2157, allocations: 4 kB / 0.9827 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-06/0.2157, allocations: 7.938 kB / 0.9827 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.2157, allocations: 4.031 kB / 0.9827 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.2157, allocations: 0 / 0.9827 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.2157, allocations: 0 / 0.9827 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2157, allocations: 3.953 kB / 0.9827 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.359e-05/0.2158, allocations: 61.12 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.2158, allocations: 89 kB / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.2158, allocations: 4 kB / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.311e-05/0.2158, allocations: 0 / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.2159, allocations: 7.984 kB / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-06/0.2159, allocations: 0 / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.158e-05/0.2159, allocations: 109.2 kB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2159, allocations: 0 / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001782/0.2161, allocations: 15.94 kB / 0.9829 GB, free: 23.87 MB / 0.6198 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.000311/0.2164, allocations: 0.6177 MB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.713e-05/0.2165, allocations: 19.98 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2165, allocations: 0 / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.274e-06/0.2165, allocations: 7.938 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.2167, allocations: 10.73 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.2169, allocations: 156.4 kB / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.217, allocations: 0.6848 MB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.584e-05/0.2171, allocations: 8.125 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.2171, allocations: 15.44 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2171, allocations: 0 / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009991/0.2271, allocations: 1.356 MB / 0.9857 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000121/0.2273, allocations: 234.3 kB / 0.986 GB, free: 20.82 MB / 0.6198 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.0.1-maint.8.0.x/Resources/C-Sources" -c -o Buildings_maint_8_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1.o Buildings_maint_8_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1.c In file included from Buildings_maint_8_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1.c:7: In file included from ./Buildings_maint_8_0_x_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.0.1-maint.8.0.x/Resources/C-Sources" -c -o Buildings_maint_8_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.o Buildings_maint_8_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c In file included from Buildings_maint_8_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c:2: In file included from ./Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c:7: In file included from ./Buildings_maint_8_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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_maint_8_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.o] Error 1