Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.281/2.281, allocations: 248.5 MB / 261 MB, free: 6.062 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 171.4 kB / 320.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.2 MB / 0.571 GB, free: 11.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00121/0.001209, allocations: 102.5 kB / 0.6754 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.374e-05/4.386e-05, allocations: 4 kB / 0.7869 GB, free: 97.85 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2524, allocations: 106.2 MB / 0.8907 GB, free: 7.504 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9068/1.159, allocations: 131.2 MB / 1.019 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/1.16, allocations: 80.7 kB / 1.019 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007257/1.167, allocations: 2.098 MB / 1.021 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.853e-06/1.167, allocations: 0 / 1.021 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.027e-05/1.167, allocations: 5.156 kB / 1.021 GB, free: 2.309 MB / 0.6355 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.0003279/1.167, allocations: 334.3 kB / 1.021 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/1.167, allocations: 13.8 kB / 1.021 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.383e-05/1.167, allocations: 34.56 kB / 1.021 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/1.167, allocations: 3.906 kB / 1.021 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/1.168, allocations: 167 kB / 1.021 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/1.168, allocations: 2.875 kB / 1.021 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/1.168, allocations: 14.45 kB / 1.021 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/1.168, allocations: 49.05 kB / 1.022 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/1.168, allocations: 4 kB / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/1.168, allocations: 3.5 kB / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.168, allocations: 0 / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.111e-05/1.168, allocations: 15.62 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/1.168, allocations: 275.4 kB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.222e-05/1.168, allocations: 26.52 kB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/1.169, allocations: 11.58 kB / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/1.169, allocations: 0 / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/1.169, allocations: 30.56 kB / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.664e-06/1.169, allocations: 0 / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001545/1.169, allocations: 37.72 kB / 1.022 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/1.169, allocations: 51.41 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/1.169, allocations: 134.9 kB / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/1.169, allocations: 29.7 kB / 1.022 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/1.169, allocations: 91.34 kB / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.127e-06/1.169, allocations: 4 kB / 1.022 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/1.169, allocations: 0 / 1.022 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.169, allocations: 314.7 kB / 1.022 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.053e-05/1.169, allocations: 15.38 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.69e-05/1.169, allocations: 7.688 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.303e-05/1.169, allocations: 15.92 kB / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.169, allocations: 4 kB / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001589/1.17, allocations: 60.59 kB / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.17, allocations: 4 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.17, allocations: 0 / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/1.17, allocations: 7.938 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.171e-05/1.17, allocations: 3.953 kB / 1.023 GB, free: 444 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/1.17, allocations: 0 / 1.023 GB, free: 444 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.204e-05/1.17, allocations: 0 / 1.023 GB, free: 444 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/1.17, allocations: 7.984 kB / 1.023 GB, free: 436 kB / 0.6355 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 () * 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 9.633e-05/1.17, allocations: 112.8 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/1.17, allocations: 8 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/1.17, allocations: 7.609 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.17, allocations: 0 / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.17, allocations: 8.828 kB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.17, allocations: 0 / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/1.17, allocations: 360 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.171, allocations: 0 / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-06/1.171, allocations: 0 / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.171, allocations: 4.031 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/1.171, allocations: 4.141 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/1.171, allocations: 4 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/1.171, allocations: 3.938 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.954e-05/1.171, allocations: 63.86 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/1.171, allocations: 92.38 kB / 1.023 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/1.171, allocations: 0 / 1.023 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.521e-05/1.171, allocations: 7.984 kB / 1.023 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/1.171, allocations: 4 kB / 1.023 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/1.171, allocations: 0 / 1.023 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.866e-05/1.171, allocations: 104.2 kB / 1.023 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.21e-07/1.171, allocations: 0 / 1.023 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002682/1.171, allocations: 11.5 kB / 1.023 GB, free: 15.57 MB / 0.6511 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 () * 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.0006558/1.172, allocations: 0.619 MB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001178/1.172, allocations: 23.19 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.172, allocations: 0 / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.189e-05/1.172, allocations: 7.984 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/1.172, allocations: 15.12 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/1.173, allocations: 114.2 kB / 1.024 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/1.173, allocations: 0.6848 MB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.213e-05/1.173, allocations: 12.12 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/1.173, allocations: 11.06 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of SimCode: time 9.22e-07/1.173, allocations: 0 / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/1.194, allocations: 1.343 MB / 1.026 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002953/1.195, allocations: 197.9 kB / 1.026 GB, free: 12.57 MB / 0.6511 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1.o Buildings_7_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1.c In file included from Buildings_7_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1.c:7: In file included from ./Buildings_7_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.o Buildings_7_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_7_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources/cryptographicsHash.c:26:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.o] Error 1