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.726/1.726, allocations: 288.2 MB / 303.2 MB, free: 8.113 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.001141/0.001141, allocations: 173 kB / 371.8 MB, free: 10.3 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.505/1.505, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0008172/0.0008173, allocations: 101.4 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.000408, allocations: 11 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2224, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0007285/0.2232, allocations: 260.5 kB / 0.9797 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003346/0.2235, allocations: 134 kB / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.2236, allocations: 0 / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.2236, allocations: 3.938 kB / 0.9799 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.2238, allocations: 11.98 kB / 0.9799 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.326e-05/0.2239, allocations: 19.92 kB / 0.9799 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.089e-05/0.2239, allocations: 19.97 kB / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.415e-05/0.224, allocations: 4 kB / 0.9799 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.655e-05/0.224, allocations: 15.92 kB / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003206/0.2244, allocations: 270.5 kB / 0.9802 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.2244, allocations: 0 / 0.9802 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.443e-05/0.2244, allocations: 15.94 kB / 0.9802 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.287e-06/0.2245, allocations: 0 / 0.9802 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/0.2245, allocations: 37.64 kB / 0.9802 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.626e-05/0.2246, allocations: 23.95 kB / 0.9803 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2246, allocations: 0 / 0.9803 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2246, allocations: 7.938 kB / 0.9803 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2246, allocations: 0 / 0.9803 GB, free: 26.84 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.0002751/0.2249, allocations: 339.5 kB / 0.9806 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2249, allocations: 12.03 kB / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.225, allocations: 30.56 kB / 0.9806 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.225, allocations: 4 kB / 0.9806 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.749e-05/0.2251, allocations: 174.9 kB / 0.9808 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.2251, allocations: 8 kB / 0.9808 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.2251, allocations: 0 / 0.9808 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.2253, allocations: 57.61 kB / 0.9809 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.2253, allocations: 0 / 0.9809 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.2253, allocations: 0 / 0.9809 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2253, allocations: 0 / 0.9809 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.333e-05/0.2253, allocations: 16 kB / 0.9809 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.2256, allocations: 276.9 kB / 0.9811 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.344e-05/0.2257, allocations: 22.52 kB / 0.9812 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.2257, allocations: 4.062 kB / 0.9812 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.2257, allocations: 34.56 kB / 0.9812 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2257, allocations: 3.938 kB / 0.9812 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001263/0.2259, allocations: 41.61 kB / 0.9812 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.2259, allocations: 51.41 kB / 0.9813 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/0.226, allocations: 139.5 kB / 0.9814 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.226, allocations: 25.7 kB / 0.9814 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.226, allocations: 99.89 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.39e-06/0.226, allocations: 4.125 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.2261, allocations: 4 kB / 0.9815 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.2261, allocations: 318.8 kB / 0.9819 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.2261, allocations: 11.94 kB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.7e-05/0.2262, allocations: 8 kB / 0.9819 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.404e-05/0.2262, allocations: 16.11 kB / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2262, allocations: 0 / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.969e-05/0.2263, allocations: 57.69 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.2263, allocations: 8 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.2263, allocations: 4 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.2263, allocations: 0 / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.931e-05/0.2264, allocations: 0 / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2264, allocations: 4 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.429e-05/0.2264, allocations: 11.84 kB / 0.982 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.2264, allocations: 3.938 kB / 0.982 GB, free: 24.86 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.538e-05/0.2265, allocations: 121.8 kB / 0.9821 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.2265, allocations: 7.906 kB / 0.9821 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.572e-05/0.2265, allocations: 3.531 kB / 0.9821 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.2265, allocations: 4 kB / 0.9821 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2265, allocations: 0 / 0.9821 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2265, allocations: 0 / 0.9821 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.2267, allocations: 362.7 kB / 0.9824 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2268, allocations: 4 kB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-06/0.2268, allocations: 0 / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.2268, allocations: 0 / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.2268, allocations: 0 / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.2268, allocations: 0 / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2268, allocations: 7.984 kB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.651e-05/0.2268, allocations: 61.06 kB / 0.9825 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.2269, allocations: 93 kB / 0.9826 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.2269, allocations: 3.938 kB / 0.9826 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.24e-05/0.2269, allocations: 0 / 0.9826 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.2269, allocations: 0 / 0.9826 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.2269, allocations: 3.953 kB / 0.9826 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.683e-05/0.227, allocations: 112 kB / 0.9827 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.227, allocations: 0 / 0.9827 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002123/0.2272, allocations: 12 kB / 0.9827 GB, free: 23.98 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.0003357/0.2276, allocations: 0.629 MB / 0.9833 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.58e-05/0.2276, allocations: 16 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2277, allocations: 0 / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.785e-06/0.2277, allocations: 8 kB / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.899e-05/0.2278, allocations: 3.484 kB / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.2281, allocations: 158.8 kB / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.2282, allocations: 0.6887 MB / 0.9842 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.818e-05/0.2282, allocations: 4 kB / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.2283, allocations: 15.44 kB / 0.9842 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2283, allocations: 0 / 0.9842 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.2395, allocations: 1.34 MB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000128/0.2397, allocations: 224.9 kB / 0.9857 GB, free: 20.94 MB / 0.6198 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 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: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 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: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_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