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 2.659/2.659, allocations: 287.3 MB / 302.3 MB, free: 8.344 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.001534/0.001534, allocations: 175.9 kB / 370.8 MB, free: 10.87 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.133/2.133, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001138/0.001138, allocations: 99.72 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.000481, allocations: 11.44 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2352, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9769/1.212, allocations: 137.6 MB / 1.113 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/1.212, allocations: 75.91 kB / 1.113 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006306/1.219, allocations: 2.119 MB / 1.115 GB, free: 31.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.093e-06/1.219, allocations: 4 kB / 1.115 GB, free: 31.26 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.785e-06/1.219, allocations: 0 / 1.115 GB, free: 31.26 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.0003703/1.219, allocations: 347.8 kB / 1.115 GB, free: 30.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.219, allocations: 7.438 kB / 1.115 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.169e-05/1.219, allocations: 34.28 kB / 1.115 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/1.219, allocations: 7.156 kB / 1.115 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/1.22, allocations: 173.3 kB / 1.115 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/1.22, allocations: 0 / 1.115 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/1.22, allocations: 11.39 kB / 1.115 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/1.22, allocations: 51.28 kB / 1.115 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/1.22, allocations: 0 / 1.115 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/1.22, allocations: 3.562 kB / 1.115 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/1.22, allocations: 0 / 1.115 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.092e-05/1.22, allocations: 16.77 kB / 1.115 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/1.22, allocations: 276.5 kB / 1.116 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.969e-05/1.22, allocations: 18.48 kB / 1.116 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/1.22, allocations: 3.938 kB / 1.116 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/1.22, allocations: 37.27 kB / 1.116 GB, free: 30.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/1.22, allocations: 0 / 1.116 GB, free: 30.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001566/1.221, allocations: 37.14 kB / 1.116 GB, free: 30.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/1.221, allocations: 55.36 kB / 1.116 GB, free: 30.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/1.221, allocations: 127 kB / 1.116 GB, free: 30.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/1.221, allocations: 25.7 kB / 1.116 GB, free: 30.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/1.221, allocations: 97.22 kB / 1.116 GB, free: 29.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/1.221, allocations: 10.12 kB / 1.116 GB, free: 29.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-06/1.221, allocations: 3.312 kB / 1.116 GB, free: 29.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.221, allocations: 310.8 kB / 1.116 GB, free: 29.65 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.709e-05/1.221, allocations: 13.61 kB / 1.116 GB, free: 29.65 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.259e-05/1.221, allocations: 11.19 kB / 1.116 GB, free: 29.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.804e-05/1.221, allocations: 13.61 kB / 1.116 GB, free: 29.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.221, allocations: 0 / 1.116 GB, free: 29.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000153/1.221, allocations: 58.44 kB / 1.116 GB, free: 29.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.221, allocations: 7.219 kB / 1.116 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.221, allocations: 4 kB / 1.116 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/1.221, allocations: 0 / 1.116 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.023e-05/1.221, allocations: 5.547 kB / 1.116 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/1.221, allocations: 0 / 1.116 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.022e-05/1.222, allocations: 8.172 kB / 1.116 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/1.222, allocations: 1.25 kB / 1.116 GB, free: 29.6 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 9.382e-05/1.222, allocations: 116.2 kB / 1.117 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/1.222, allocations: 2.531 kB / 1.117 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/1.222, allocations: 11.41 kB / 1.117 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/1.222, allocations: 4 kB / 1.117 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.222, allocations: 0 / 1.117 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.222, allocations: 5.281 kB / 1.117 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/1.222, allocations: 363 kB / 1.117 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.222, allocations: 0 / 1.117 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.521e-06/1.222, allocations: 0 / 1.117 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.222, allocations: 1.25 kB / 1.117 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/1.222, allocations: 0 / 1.117 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.222, allocations: 0 / 1.117 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.222, allocations: 12 kB / 1.117 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.219e-05/1.222, allocations: 62.02 kB / 1.117 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/1.222, allocations: 87.02 kB / 1.117 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/1.222, allocations: 6.969 kB / 1.117 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.921e-05/1.222, allocations: 0 / 1.117 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/1.222, allocations: 3.953 kB / 1.117 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/1.222, allocations: 0 / 1.117 GB, free: 28.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.791e-05/1.223, allocations: 108.5 kB / 1.117 GB, free: 28.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.223, allocations: 0 / 1.117 GB, free: 28.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002586/1.223, allocations: 22.58 kB / 1.117 GB, free: 28.83 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.0006215/1.223, allocations: 0.6223 MB / 1.118 GB, free: 28.22 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001076/1.224, allocations: 21.27 kB / 1.118 GB, free: 28.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.224, allocations: 3.875 kB / 1.118 GB, free: 28.22 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-05/1.224, allocations: 0 / 1.118 GB, free: 28.22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/1.224, allocations: 6.656 kB / 1.118 GB, free: 28.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/1.224, allocations: 161.7 kB / 1.118 GB, free: 28.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/1.225, allocations: 0.6821 MB / 1.119 GB, free: 27.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.677e-05/1.225, allocations: 10.83 kB / 1.119 GB, free: 27.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/1.225, allocations: 17 kB / 1.119 GB, free: 27.34 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/1.225, allocations: 0 / 1.119 GB, free: 27.34 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/1.244, allocations: 1.34 MB / 1.12 GB, free: 27.13 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/1.244, allocations: 220.4 kB / 1.12 GB, free: 26.89 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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.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: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 -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.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: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_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. : recipe for target 'Buildings_8_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.o] Error 1