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.49/1.49, allocations: 288.4 MB / 303.6 MB, free: 8.184 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.0008771/0.0008771, allocations: 184.5 kB / 372.3 MB, free: 10.14 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.248/1.248, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0007004/0.0007004, allocations: 98.3 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003401, allocations: 15.97 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1596, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.000495/0.1601, allocations: 270.2 kB / 0.9804 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003002/0.1605, allocations: 140.2 kB / 0.9806 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.1605, allocations: 0 / 0.9806 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.115e-05/0.1605, allocations: 3.938 kB / 0.9806 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.1607, allocations: 8 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.153e-05/0.1607, allocations: 23.91 kB / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.206e-05/0.1608, allocations: 15.94 kB / 0.9806 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.1608, allocations: 7.984 kB / 0.9806 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.033e-05/0.1608, allocations: 11.94 kB / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.1611, allocations: 312.1 kB / 0.9809 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1611, allocations: 0 / 0.9809 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.659e-05/0.1612, allocations: 8 kB / 0.9809 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.1612, allocations: 8 kB / 0.9809 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.1612, allocations: 49.48 kB / 0.981 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.719e-05/0.1613, allocations: 19.98 kB / 0.981 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1613, allocations: 0 / 0.981 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1613, allocations: 0 / 0.981 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.1613, allocations: 0 / 0.981 GB, free: 26.43 MB / 0.6198 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.000196/0.1615, allocations: 347.6 kB / 0.9813 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.1616, allocations: 16.02 kB / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.758e-05/0.1616, allocations: 30.75 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.209e-05/0.1616, allocations: 0.9375 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.446e-05/0.1617, allocations: 180.2 kB / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1617, allocations: 4.375 kB / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.1618, allocations: 4.375 kB / 0.9816 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.332e-05/0.1619, allocations: 53.55 kB / 0.9816 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.1619, allocations: 4 kB / 0.9816 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1619, allocations: 4 kB / 0.9816 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1619, allocations: 0 / 0.9816 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.1619, allocations: 15.98 kB / 0.9816 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.1622, allocations: 276.8 kB / 0.9819 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.007e-05/0.1622, allocations: 22.5 kB / 0.9819 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.1623, allocations: 8.922 kB / 0.9819 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.1623, allocations: 0 / 0.9819 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.016e-05/0.1623, allocations: 34.56 kB / 0.982 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.1623, allocations: 0 / 0.982 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001257/0.1624, allocations: 41.69 kB / 0.982 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/0.1624, allocations: 51.41 kB / 0.9821 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.279e-05/0.1625, allocations: 139.6 kB / 0.9822 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.1625, allocations: 25.7 kB / 0.9822 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.585e-05/0.1626, allocations: 91.98 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-06/0.1626, allocations: 7.984 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.1626, allocations: 8.062 kB / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.406e-05/0.1626, allocations: 318.8 kB / 0.9826 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/0.1626, allocations: 12 kB / 0.9826 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.634e-05/0.1627, allocations: 7.984 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.798e-05/0.1627, allocations: 20.98 kB / 0.9827 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1627, allocations: 0 / 0.9827 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.922e-05/0.1628, allocations: 61.59 kB / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.1628, allocations: 8 kB / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1628, allocations: 0 / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1628, allocations: 7.938 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.962e-05/0.1629, allocations: 7.922 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1629, allocations: 4 kB / 0.9827 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.309e-05/0.1629, allocations: 3.938 kB / 0.9828 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1629, allocations: 0 / 0.9828 GB, free: 24.42 MB / 0.6198 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.24e-05/0.163, allocations: 113.8 kB / 0.9829 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.163, allocations: 11.84 kB / 0.9829 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.594e-05/0.163, allocations: 11.52 kB / 0.9829 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.163, allocations: 0 / 0.9829 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.163, allocations: 4 kB / 0.9829 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.163, allocations: 3.938 kB / 0.9829 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.1632, allocations: 350.8 kB / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1632, allocations: 3.938 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-06/0.1632, allocations: 7.984 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1632, allocations: 0 / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.1632, allocations: 3.938 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1632, allocations: 0 / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1632, allocations: 0 / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.23e-05/0.1633, allocations: 65.08 kB / 0.9833 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.1633, allocations: 85.09 kB / 0.9834 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.1633, allocations: 3.938 kB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.147e-05/0.1633, allocations: 0 / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.1634, allocations: 3.984 kB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.1634, allocations: 4.062 kB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.767e-05/0.1634, allocations: 108.4 kB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.1634, allocations: 0 / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001716/0.1636, allocations: 8 kB / 0.9835 GB, free: 23.54 MB / 0.6198 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.0002914/0.1639, allocations: 0.6299 MB / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.749e-05/0.164, allocations: 23.92 kB / 0.9841 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.164, allocations: 0 / 0.9841 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.254e-06/0.164, allocations: 11.88 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.1641, allocations: 1.547 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.1644, allocations: 156.4 kB / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.505e-05/0.1645, allocations: 0.6809 MB / 0.985 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.322e-05/0.1645, allocations: 4.125 kB / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.1645, allocations: 19.42 kB / 0.985 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.1645, allocations: 0 / 0.985 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2423/0.4069, allocations: 1.344 MB / 0.9863 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/0.407, allocations: 228.9 kB / 0.9865 GB, free: 20.5 MB / 0.6198 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 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: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 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: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_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