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.373/1.373, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.00105/0.00105, allocations: 173.4 kB / 326.5 MB, free: 2.254 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.686/1.686, allocations: 205.4 MB / 0.5775 GB, free: 20.58 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.00083/0.00083, allocations: 101 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003458, allocations: 9.594 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.216, allocations: 106.3 MB / 0.9001 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0005859/0.2167, allocations: 260.5 kB / 0.9004 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003165/0.217, allocations: 154.1 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.217, allocations: 0 / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.088e-05/0.2171, allocations: 0 / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.2172, allocations: 11.94 kB / 0.9005 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.369e-05/0.2173, allocations: 19.97 kB / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.433e-05/0.2173, allocations: 15.92 kB / 0.9006 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.2174, allocations: 4 kB / 0.9006 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.234e-05/0.2174, allocations: 11.98 kB / 0.9006 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.2177, allocations: 273.1 kB / 0.9009 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.2177, allocations: 4 kB / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.984e-05/0.2178, allocations: 15.98 kB / 0.9009 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.486e-06/0.2178, allocations: 4 kB / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.2178, allocations: 25.7 kB / 0.9009 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.874e-05/0.2179, allocations: 19.97 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2179, allocations: 3.938 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2179, allocations: 0 / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2179, allocations: 0 / 0.9009 GB, free: 63.59 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.0002752/0.2182, allocations: 351.5 kB / 0.9013 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.2182, allocations: 8.031 kB / 0.9013 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.194e-05/0.2183, allocations: 34.56 kB / 0.9013 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.518e-05/0.2183, allocations: 11.84 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.971e-05/0.2184, allocations: 163 kB / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.2184, allocations: 8 kB / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.2184, allocations: 0 / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.2186, allocations: 53.67 kB / 0.9015 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2186, allocations: 0 / 0.9015 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.2186, allocations: 0 / 0.9015 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.2186, allocations: 0 / 0.9015 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.112e-05/0.2187, allocations: 27.92 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.219, allocations: 276.8 kB / 0.9018 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.612e-05/0.219, allocations: 22.56 kB / 0.9018 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.219, allocations: 0 / 0.9018 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.2191, allocations: 30.56 kB / 0.9019 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.2191, allocations: 0 / 0.9019 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001444/0.2192, allocations: 41.8 kB / 0.9019 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.2193, allocations: 59.39 kB / 0.902 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.553e-05/0.2194, allocations: 140.8 kB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.2194, allocations: 25.7 kB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.2194, allocations: 96.02 kB / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-06/0.2194, allocations: 4 kB / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.2194, allocations: 0 / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.657e-05/0.2195, allocations: 314.8 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/0.2195, allocations: 15.98 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.717e-05/0.2196, allocations: 8 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.461e-05/0.2196, allocations: 8 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2196, allocations: 0 / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.098e-05/0.2197, allocations: 73.47 kB / 0.9026 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.2197, allocations: 4 kB / 0.9026 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2197, allocations: 3.984 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.2197, allocations: 3.984 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.2e-05/0.2198, allocations: 4 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2198, allocations: 3.953 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/0.2198, allocations: 3.938 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.2198, allocations: 8 kB / 0.9026 GB, free: 61.6 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 5.808e-05/0.2199, allocations: 116.1 kB / 0.9028 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.2199, allocations: 7.906 kB / 0.9028 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.255e-05/0.2199, allocations: 7.516 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.22, allocations: 0 / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.22, allocations: 7.938 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.22, allocations: 3.953 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.2202, allocations: 362.7 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2202, allocations: 3.984 kB / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-06/0.2202, allocations: 0 / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2202, allocations: 192 / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.2202, allocations: 4 kB / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2202, allocations: 3.953 kB / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2202, allocations: 0 / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.339e-05/0.2203, allocations: 57.05 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.2203, allocations: 97.09 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.2203, allocations: 0 / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.276e-05/0.2204, allocations: 0 / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.2204, allocations: 7.938 kB / 0.9033 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.2204, allocations: 4 kB / 0.9033 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.216e-05/0.2204, allocations: 99.27 kB / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2205, allocations: 0 / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001988/0.2207, allocations: 12 kB / 0.9034 GB, free: 60.71 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.0004171/0.2211, allocations: 0.621 MB / 0.904 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.578e-05/0.2212, allocations: 23.92 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.2212, allocations: 0 / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.296e-06/0.2212, allocations: 15.97 kB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000105/0.2213, allocations: 3.953 kB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.2217, allocations: 149.1 kB / 0.9042 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.2218, allocations: 0.6848 MB / 0.9049 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.2218, allocations: 12.11 kB / 0.9049 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.2219, allocations: 15.5 kB / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2219, allocations: 0 / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0107/0.2326, allocations: 1.347 MB / 0.9062 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/0.2328, allocations: 235.1 kB / 0.9064 GB, free: 57.66 MB / 0.6042 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 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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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