Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 252 MB / 267 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009836/0.0009836, allocations: 166.5 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.4 MB / 0.5777 GB, free: 20.24 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.0007053/0.0007052, allocations: 90.8 kB / 0.6822 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002897/0.0002897, allocations: 7.25 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1758, allocations: 106.3 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0005777/0.1764, allocations: 265.3 kB / 0.9005 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003442/0.1767, allocations: 133.5 kB / 0.9007 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.1768, allocations: 0 / 0.9007 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.1768, allocations: 7.938 kB / 0.9007 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.177, allocations: 3.984 kB / 0.9007 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.78e-05/0.177, allocations: 23.92 kB / 0.9007 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.542e-05/0.1771, allocations: 23.92 kB / 0.9007 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.1771, allocations: 4 kB / 0.9007 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.995e-05/0.1772, allocations: 15.86 kB / 0.9007 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.1774, allocations: 304 kB / 0.901 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.1775, allocations: 4 kB / 0.901 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.752e-05/0.1775, allocations: 19.98 kB / 0.9011 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.188e-06/0.1775, allocations: 3.984 kB / 0.9011 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.693e-05/0.1776, allocations: 33.64 kB / 0.9011 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.062e-05/0.1776, allocations: 19.98 kB / 0.9011 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1776, allocations: 3.984 kB / 0.9011 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1776, allocations: 4 kB / 0.9011 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.1777, allocations: 0 / 0.9011 GB, free: 62.94 MB / 0.6042 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.000207/0.1779, allocations: 337.6 kB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1779, allocations: 8.031 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.76e-05/0.1779, allocations: 34.56 kB / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.09e-05/0.178, allocations: 3.906 kB / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.003e-05/0.178, allocations: 171 kB / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1781, allocations: 4 kB / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.487e-06/0.1781, allocations: 11.92 kB / 0.9017 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.591e-05/0.1782, allocations: 45.69 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.1782, allocations: 0 / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.1782, allocations: 4 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1782, allocations: 3.984 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.291e-05/0.1783, allocations: 19.98 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/0.1785, allocations: 276.8 kB / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.977e-05/0.1786, allocations: 22.5 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.338e-05/0.1786, allocations: 12.92 kB / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-06/0.1786, allocations: 0 / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.1786, allocations: 30.56 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1786, allocations: 0 / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001098/0.1787, allocations: 41.66 kB / 0.9021 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/0.1788, allocations: 55.34 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.66e-05/0.1788, allocations: 134.9 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.28e-06/0.1788, allocations: 29.83 kB / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/0.1789, allocations: 96.03 kB / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-06/0.1789, allocations: 7.938 kB / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.1789, allocations: 4 kB / 0.9024 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.781e-05/0.1789, allocations: 310.8 kB / 0.9027 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.179, allocations: 15.92 kB / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.664e-05/0.179, allocations: 12 kB / 0.9027 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.114e-05/0.179, allocations: 4 kB / 0.9027 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.179, allocations: 0 / 0.9027 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.242e-05/0.1791, allocations: 65.59 kB / 0.9028 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.1791, allocations: 11.98 kB / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.1791, allocations: 0 / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.1792, allocations: 0 / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.756e-05/0.1792, allocations: 4.188 kB / 0.9028 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1792, allocations: 3.953 kB / 0.9028 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.441e-05/0.1792, allocations: 11.88 kB / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1792, allocations: 4 kB / 0.9028 GB, free: 60.95 MB / 0.6042 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.354e-05/0.1793, allocations: 109.8 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.1793, allocations: 7.906 kB / 0.903 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.702e-05/0.1793, allocations: 11.52 kB / 0.903 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.1793, allocations: 0 / 0.903 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1793, allocations: 4 kB / 0.903 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1793, allocations: 3.953 kB / 0.903 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.1795, allocations: 358.8 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1795, allocations: 0 / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-06/0.1795, allocations: 0 / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1795, allocations: 0 / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-06/0.1795, allocations: 4.031 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1796, allocations: 7.891 kB / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1796, allocations: 0 / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.249e-05/0.1796, allocations: 57.05 kB / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.1796, allocations: 89.09 kB / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.1797, allocations: 0 / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.328e-05/0.1797, allocations: 0 / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.1797, allocations: 11.88 kB / 0.9035 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.1797, allocations: 8.031 kB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.1797, allocations: 101.4 kB / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1798, allocations: 0 / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001898/0.1799, allocations: 12 kB / 0.9036 GB, free: 60.07 MB / 0.6042 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.0003141/0.1803, allocations: 0.6302 MB / 0.9042 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.946e-05/0.1803, allocations: 23.98 kB / 0.9042 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1804, allocations: 0 / 0.9042 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.464e-06/0.1804, allocations: 4 kB / 0.9042 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.1805, allocations: 3.953 kB / 0.9042 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.1808, allocations: 156.4 kB / 0.9044 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.382e-05/0.1808, allocations: 0.6809 MB / 0.9051 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.604e-05/0.1809, allocations: 8.125 kB / 0.9051 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.1809, allocations: 19.42 kB / 0.9051 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.1809, allocations: 0 / 0.9051 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01061/0.1915, allocations: 1.356 MB / 0.9064 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001284/0.1917, allocations: 240.8 kB / 0.9066 GB, free: 57.01 MB / 0.6042 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 7.0.3-maint.7.0.x/Resources/C-Sources" -c -o Buildings_maint_7_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1.o Buildings_maint_7_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1.c In file included from Buildings_maint_7_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1.c:7: In file included from ./Buildings_maint_7_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: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 7.0.3-maint.7.0.x/Resources/C-Sources" -c -o Buildings_maint_7_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.o Buildings_maint_7_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c In file included from Buildings_maint_7_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c:2: In file included from ./Buildings_maint_7_0_x_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_maint_7_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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_7_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.o] Error 1