Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.711/1.711, allocations: 287.4 MB / 302.6 MB, free: 8.324 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.0009682/0.0009684, allocations: 179.3 kB / 371.1 MB, free: 10.83 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.375/1.375, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0008904/0.0008904, allocations: 102.5 kB / 0.7431 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004601, allocations: 9.094 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1988, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0006551/0.1995, allocations: 262.1 kB / 0.979 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003892/0.1999, allocations: 144.1 kB / 0.9791 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.462e-05/0.1999, allocations: 0 / 0.9791 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.2, allocations: 4 kB / 0.9791 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.2001, allocations: 15.92 kB / 0.9791 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.801e-05/0.2002, allocations: 19.98 kB / 0.9791 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.304e-05/0.2003, allocations: 23.86 kB / 0.9792 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.2003, allocations: 4 kB / 0.9792 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.507e-05/0.2004, allocations: 11.97 kB / 0.9792 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003198/0.2007, allocations: 323.5 kB / 0.9795 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.2007, allocations: 0 / 0.9795 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.286e-05/0.2008, allocations: 15.98 kB / 0.9795 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.2008, allocations: 11.98 kB / 0.9795 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.2008, allocations: 29.7 kB / 0.9795 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.693e-05/0.2009, allocations: 23.95 kB / 0.9796 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2009, allocations: 7.938 kB / 0.9796 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2009, allocations: 0 / 0.9796 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.2009, allocations: 0 / 0.9796 GB, free: 27.25 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.0002447/0.2012, allocations: 339.6 kB / 0.9799 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.2012, allocations: 8.031 kB / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.458e-05/0.2013, allocations: 30.75 kB / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.2013, allocations: 8.875 kB / 0.9799 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.091e-05/0.2014, allocations: 180.2 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.2014, allocations: 384 / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.2014, allocations: 4.375 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.2016, allocations: 49.62 kB / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.2016, allocations: 0 / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.2016, allocations: 3.938 kB / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2016, allocations: 0 / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.76e-05/0.2017, allocations: 23.92 kB / 0.9802 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.202, allocations: 280.8 kB / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.869e-05/0.202, allocations: 18.58 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.202, allocations: 4.859 kB / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.701e-05/0.2021, allocations: 0 / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.2021, allocations: 34.62 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/0.2021, allocations: 0 / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001311/0.2023, allocations: 33.64 kB / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.2023, allocations: 59.53 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.69e-05/0.2024, allocations: 139.6 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.342e-06/0.2024, allocations: 25.7 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.2024, allocations: 99.97 kB / 0.9809 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-06/0.2025, allocations: 0 / 0.9809 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.2025, allocations: 0 / 0.9809 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.191e-05/0.2025, allocations: 322.8 kB / 0.9812 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.473e-05/0.2025, allocations: 11.98 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.04e-05/0.2026, allocations: 8 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.577e-05/0.2026, allocations: 28.78 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2026, allocations: 0 / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.205e-05/0.2027, allocations: 61.59 kB / 0.9813 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.2027, allocations: 4 kB / 0.9813 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.2027, allocations: 192 / 0.9813 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2028, allocations: 4 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.841e-05/0.2028, allocations: 4 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.2028, allocations: 0 / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.537e-05/0.2028, allocations: 7.938 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.2028, allocations: 0 / 0.9813 GB, free: 25.26 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.665e-05/0.2029, allocations: 125.8 kB / 0.9814 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.2029, allocations: 3.906 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.821e-05/0.2029, allocations: 7.531 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2029, allocations: 3.938 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.203, allocations: 0 / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.203, allocations: 3.938 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.2031, allocations: 362.7 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2032, allocations: 4.031 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-06/0.2032, allocations: 0 / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.2032, allocations: 0 / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.2032, allocations: 3.938 kB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2032, allocations: 4 kB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2032, allocations: 0 / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.483e-05/0.2032, allocations: 68.97 kB / 0.9819 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.2033, allocations: 77.14 kB / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.2033, allocations: 11.92 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.298e-05/0.2033, allocations: 0 / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.2033, allocations: 7.984 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.2033, allocations: 0 / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.054e-05/0.2034, allocations: 104 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2034, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002237/0.2036, allocations: 15.98 kB / 0.9821 GB, free: 24.37 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.000325/0.2039, allocations: 0.6166 MB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.615e-05/0.204, allocations: 23.94 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.204, allocations: 0 / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.734e-06/0.2041, allocations: 8.031 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.2042, allocations: 0 / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.2045, allocations: 158.8 kB / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.2046, allocations: 0.6809 MB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.63e-05/0.2046, allocations: 12.12 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.2046, allocations: 19.36 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2047, allocations: 4.062 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1837/0.3884, allocations: 1.325 MB / 0.9848 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.3886, allocations: 232.9 kB / 0.9851 GB, free: 21.32 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.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1.o Buildings_8_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1.c In file included from Buildings_8_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1.c:7: In file included from ./Buildings_8_0_0_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.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.o Buildings_8_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c In file included from Buildings_8_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c:2: In file included from ./Buildings_8_0_0_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_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/cryptographicsHash.c:26:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.o] Error 1