Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.842/1.842, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001161/0.001161, allocations: 177 kB / 377.1 MB, free: 1.547 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.854/1.854, allocations: 205.4 MB / 0.6366 GB, free: 8.645 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001056, allocations: 91.48 kB / 0.7509 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004371/0.0004372, allocations: 11.98 kB / 0.8749 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3227, allocations: 116.3 MB / 0.9884 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.024/1.346, allocations: 138.7 MB / 1.124 GB, free: 35.78 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/1.347, allocations: 80.52 kB / 1.124 GB, free: 35.72 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004286/1.351, allocations: 2.089 MB / 1.126 GB, free: 34.19 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.886e-06/1.351, allocations: 4 kB / 1.126 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.948e-06/1.351, allocations: 0 / 1.126 GB, free: 34.18 MB / 0.7292 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.0003526/1.351, allocations: 357.6 kB / 1.126 GB, free: 33.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/1.351, allocations: 8.031 kB / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.756e-05/1.352, allocations: 36.03 kB / 1.126 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/1.352, allocations: 9.969 kB / 1.126 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/1.352, allocations: 166.5 kB / 1.127 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/1.352, allocations: 5.781 kB / 1.127 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/1.352, allocations: 4.859 kB / 1.127 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/1.352, allocations: 53.02 kB / 1.127 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/1.352, allocations: 0.7188 kB / 1.127 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/1.352, allocations: 1.656 kB / 1.127 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/1.352, allocations: 0 / 1.127 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.343e-05/1.352, allocations: 20.88 kB / 1.127 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/1.352, allocations: 275.5 kB / 1.127 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.602e-05/1.353, allocations: 18.58 kB / 1.127 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/1.353, allocations: 6.062 kB / 1.127 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/1.353, allocations: 34.09 kB / 1.127 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/1.353, allocations: 0 / 1.127 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001733/1.353, allocations: 41.64 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/1.353, allocations: 51.41 kB / 1.127 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/1.353, allocations: 135 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/1.353, allocations: 25.7 kB / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/1.353, allocations: 99.55 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.114e-06/1.353, allocations: 0 / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-06/1.353, allocations: 0 / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/1.353, allocations: 316 kB / 1.128 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.904e-05/1.353, allocations: 15.64 kB / 1.128 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.821e-05/1.353, allocations: 8 kB / 1.128 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.114e-05/1.353, allocations: 16.05 kB / 1.128 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.353, allocations: 0 / 1.128 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001452/1.353, allocations: 65.78 kB / 1.128 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.353, allocations: 4 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1.353, allocations: 0.5469 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/1.353, allocations: 0 / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.923e-05/1.354, allocations: 4.609 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/1.354, allocations: 0 / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.67e-05/1.354, allocations: 0.625 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/1.354, allocations: 16.31 kB / 1.128 GB, free: 32.3 MB / 0.7292 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 6.561e-05/1.354, allocations: 109.8 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/1.354, allocations: 4 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/1.354, allocations: 7.469 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/1.354, allocations: 0 / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.354, allocations: 5.25 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.354, allocations: 0 / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/1.354, allocations: 376 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/1.354, allocations: 0.5 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-06/1.354, allocations: 0 / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.354, allocations: 1.031 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/1.354, allocations: 0 / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/1.354, allocations: 0.75 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.354, allocations: 0 / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.381e-05/1.354, allocations: 64.55 kB / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/1.354, allocations: 97.53 kB / 1.128 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/1.354, allocations: 0 / 1.128 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.339e-05/1.354, allocations: 0.5625 kB / 1.128 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/1.354, allocations: 4 kB / 1.128 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/1.354, allocations: 0 / 1.128 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.728e-05/1.354, allocations: 106.5 kB / 1.128 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.354, allocations: 0.6562 kB / 1.128 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002189/1.355, allocations: 12 kB / 1.128 GB, free: 31.45 MB / 0.7292 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.0005105/1.355, allocations: 0.6248 MB / 1.129 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001003/1.355, allocations: 27.55 kB / 1.129 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.355, allocations: 0 / 1.129 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.612e-06/1.355, allocations: 4.031 kB / 1.129 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/1.355, allocations: 9.125 kB / 1.129 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/1.356, allocations: 153 kB / 1.129 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/1.356, allocations: 0.6841 MB / 1.13 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.867e-05/1.356, allocations: 7.125 kB / 1.13 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/1.356, allocations: 23.02 kB / 1.13 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of SimCode: time 1.252e-06/1.356, allocations: 0 / 1.13 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/1.37, allocations: 1.335 MB / 1.131 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/1.371, allocations: 226.9 kB / 1.131 GB, free: 28.9 MB / 0.7292 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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1.o Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1.c In file included from Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1.c:7: In file included from ./Buildings_8_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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.o Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c In file included from Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c:2: In file included from ./Buildings_8_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_8_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c:7: In file included from ./Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.o] Error 1