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.782/2.782, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001528/0.001528, allocations: 186.8 kB / 370.8 MB, free: 10.85 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.125/2.125, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001185/0.001185, allocations: 92.23 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007608/0.0007614, allocations: 12.08 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2474, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0006837/0.2482, allocations: 272.3 kB / 0.9785 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004219/0.2486, allocations: 134 kB / 0.9787 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.2487, allocations: 0 / 0.9787 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.2487, allocations: 3.938 kB / 0.9787 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.2489, allocations: 4 kB / 0.9787 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 9.593e-05/0.249, allocations: 19.97 kB / 0.9787 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.027e-05/0.2491, allocations: 19.92 kB / 0.9787 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.455e-05/0.2492, allocations: 7.984 kB / 0.9787 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.001e-05/0.2492, allocations: 7.938 kB / 0.9787 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003985/0.2496, allocations: 301.6 kB / 0.979 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2497, allocations: 0 / 0.979 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.179e-05/0.2497, allocations: 15.94 kB / 0.979 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.2498, allocations: 7.922 kB / 0.979 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.2498, allocations: 33.64 kB / 0.9791 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.156e-05/0.2499, allocations: 27.95 kB / 0.9791 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.2499, allocations: 0 / 0.9791 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2499, allocations: 0 / 0.9791 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.2499, allocations: 0 / 0.9791 GB, free: 27.48 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.0002732/0.2502, allocations: 343.5 kB / 0.9794 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.2503, allocations: 8.031 kB / 0.9794 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.2503, allocations: 34.56 kB / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.2503, allocations: 0 / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.507e-05/0.2504, allocations: 178.9 kB / 0.9796 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.2505, allocations: 0 / 0.9796 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.2505, allocations: 8 kB / 0.9796 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.2506, allocations: 49.61 kB / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2507, allocations: 0 / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.2507, allocations: 4 kB / 0.9797 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2507, allocations: 4 kB / 0.9797 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.486e-05/0.2508, allocations: 12 kB / 0.9797 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.2511, allocations: 276.9 kB / 0.98 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.356e-05/0.2512, allocations: 18.58 kB / 0.98 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.2512, allocations: 0 / 0.98 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.2512, allocations: 38.56 kB / 0.98 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.323e-06/0.2513, allocations: 0 / 0.98 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001668/0.2514, allocations: 37.61 kB / 0.9801 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.2515, allocations: 55.36 kB / 0.9801 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.2516, allocations: 146.6 kB / 0.9802 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.2516, allocations: 25.7 kB / 0.9803 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/0.2517, allocations: 99.89 kB / 0.9804 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.352e-06/0.2517, allocations: 0 / 0.9804 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-06/0.2517, allocations: 0 / 0.9804 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.2518, allocations: 323 kB / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.35e-05/0.2518, allocations: 8 kB / 0.9807 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-05/0.2519, allocations: 15.94 kB / 0.9807 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/0.2519, allocations: 11.98 kB / 0.9807 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2519, allocations: 0 / 0.9807 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001352/0.2521, allocations: 57.69 kB / 0.9808 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2521, allocations: 8 kB / 0.9808 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2521, allocations: 0 / 0.9808 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2521, allocations: 3.938 kB / 0.9808 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.838e-05/0.2522, allocations: 0 / 0.9808 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.2522, allocations: 3.953 kB / 0.9808 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.111e-05/0.2523, allocations: 11.91 kB / 0.9808 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.2523, allocations: 0 / 0.9808 GB, free: 25.51 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 6.909e-05/0.2523, allocations: 118 kB / 0.9809 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.2524, allocations: 7.906 kB / 0.9809 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.2524, allocations: 11.53 kB / 0.9809 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2524, allocations: 0 / 0.9809 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2524, allocations: 0 / 0.9809 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2525, allocations: 3.953 kB / 0.9809 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.2527, allocations: 358.8 kB / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2527, allocations: 0 / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-06/0.2527, allocations: 0 / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2528, allocations: 4 kB / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.2528, allocations: 0 / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2528, allocations: 3.953 kB / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2528, allocations: 0 / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.055e-05/0.2529, allocations: 69.09 kB / 0.9813 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.2529, allocations: 89 kB / 0.9814 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.253, allocations: 4 kB / 0.9814 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.98e-05/0.253, allocations: 0 / 0.9814 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.253, allocations: 3.953 kB / 0.9814 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.253, allocations: 3.938 kB / 0.9814 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.938e-05/0.2531, allocations: 108.9 kB / 0.9815 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2531, allocations: 0 / 0.9815 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002669/0.2534, allocations: 12 kB / 0.9816 GB, free: 24.62 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.0004598/0.2539, allocations: 0.6258 MB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.254, allocations: 20 kB / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.254, allocations: 4.031 kB / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-05/0.254, allocations: 0 / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.2542, allocations: 11.95 kB / 0.9822 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.2545, allocations: 144.3 kB / 0.9823 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.2547, allocations: 0.6863 MB / 0.983 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.189e-05/0.2547, allocations: 12.19 kB / 0.983 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.2548, allocations: 19.44 kB / 0.983 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of SimCode: time 8.01e-07/0.2548, allocations: 3.938 kB / 0.983 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.2744, allocations: 1.332 MB / 0.9843 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/0.2747, allocations: 220.7 kB / 0.9846 GB, free: 21.57 MB / 0.6198 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: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 -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: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_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