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.703/1.703, allocations: 288.2 MB / 303.2 MB, free: 8.234 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.001431/0.001431, allocations: 181.9 kB / 371.8 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 2.062/2.062, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.001064/0.001064, allocations: 86.88 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004438/0.0004437, allocations: 10.16 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3103, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.487, allocations: 137.7 MB / 1.114 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003447/1.488, allocations: 72.88 kB / 1.114 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005341/1.493, allocations: 2.118 MB / 1.116 GB, free: 31.92 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.445e-06/1.493, allocations: 0 / 1.116 GB, free: 31.92 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.095e-05/1.493, allocations: 0 / 1.116 GB, free: 31.92 MB / 0.698 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.0004174/1.494, allocations: 350 kB / 1.116 GB, free: 31.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.777e-05/1.494, allocations: 7.844 kB / 1.116 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.972e-05/1.494, allocations: 38.41 kB / 1.116 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/1.494, allocations: 7.781 kB / 1.117 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/1.494, allocations: 169.9 kB / 1.117 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/1.494, allocations: 0 / 1.117 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/1.494, allocations: 3.875 kB / 1.117 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/1.494, allocations: 47.89 kB / 1.117 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/1.494, allocations: 0 / 1.117 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/1.494, allocations: 3.688 kB / 1.117 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/1.494, allocations: 3.844 kB / 1.117 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.271e-05/1.495, allocations: 14.98 kB / 1.117 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/1.495, allocations: 275.9 kB / 1.117 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.923e-05/1.495, allocations: 18.14 kB / 1.117 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/1.495, allocations: 7.594 kB / 1.117 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/1.495, allocations: 36.36 kB / 1.117 GB, free: 30.94 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 3.636e-06/1.495, allocations: 3.984 kB / 1.117 GB, free: 30.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001946/1.495, allocations: 37.33 kB / 1.117 GB, free: 30.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/1.495, allocations: 55.41 kB / 1.117 GB, free: 30.83 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/1.496, allocations: 132.4 kB / 1.117 GB, free: 30.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/1.496, allocations: 25.7 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.83e-05/1.496, allocations: 97.36 kB / 1.117 GB, free: 30.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/1.496, allocations: 0 / 1.117 GB, free: 30.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/1.496, allocations: 5.625 kB / 1.117 GB, free: 30.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001899/1.496, allocations: 318.1 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.065e-05/1.496, allocations: 7.906 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.643e-05/1.496, allocations: 22.77 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.752e-05/1.496, allocations: 3.969 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.496, allocations: 0 / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001113/1.496, allocations: 63.83 kB / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/1.496, allocations: 3.875 kB / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.496, allocations: 3.328 kB / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/1.496, allocations: 0 / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.944e-05/1.496, allocations: 3.875 kB / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/1.496, allocations: 0 / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/1.496, allocations: 192 / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/1.496, allocations: 19.73 kB / 1.118 GB, free: 30.25 MB / 0.698 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 0.0001151/1.497, allocations: 109.8 kB / 1.118 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/1.497, allocations: 7.188 kB / 1.118 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/1.497, allocations: 11.41 kB / 1.118 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/1.497, allocations: 0 / 1.118 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.497, allocations: 0 / 1.118 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/1.497, allocations: 3.875 kB / 1.118 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/1.497, allocations: 363.3 kB / 1.118 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.497, allocations: 0 / 1.118 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-06/1.497, allocations: 0 / 1.118 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/1.497, allocations: 3.375 kB / 1.118 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/1.497, allocations: 0 / 1.118 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/1.497, allocations: 0 / 1.118 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.497, allocations: 0 / 1.118 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.624e-05/1.497, allocations: 64.5 kB / 1.118 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/1.497, allocations: 92.02 kB / 1.118 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/1.497, allocations: 7.406 kB / 1.118 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.175e-05/1.497, allocations: 0 / 1.118 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/1.497, allocations: 3.844 kB / 1.118 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/1.497, allocations: 0 / 1.118 GB, free: 29.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.558e-05/1.497, allocations: 108.8 kB / 1.119 GB, free: 29.49 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/1.497, allocations: 0 / 1.119 GB, free: 29.49 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000211/1.498, allocations: 11.69 kB / 1.119 GB, free: 29.49 MB / 0.698 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.000609/1.498, allocations: 0.6298 MB / 1.119 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001023/1.498, allocations: 18.45 kB / 1.119 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.498, allocations: 0 / 1.119 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.532e-06/1.498, allocations: 7.844 kB / 1.119 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/1.499, allocations: 7.281 kB / 1.119 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/1.499, allocations: 154.4 kB / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/1.499, allocations: 0.6826 MB / 1.12 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.977e-05/1.499, allocations: 11.28 kB / 1.12 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/1.499, allocations: 19.16 kB / 1.12 GB, free: 28 MB / 0.698 GB Notification: Performance of SimCode: time 4.388e-06/1.499, allocations: 0 / 1.12 GB, free: 28 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/1.517, allocations: 1.346 MB / 1.121 GB, free: 27.79 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002866/1.517, allocations: 226.4 kB / 1.122 GB, free: 27.55 MB / 0.698 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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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