Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.89/1.89, allocations: 289.7 MB / 302.3 MB, free: 2.207 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.003282/0.003282, allocations: 181.4 kB / 371.6 MB, free: 3.348 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.664/2.664, allocations: 205.2 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009939/0.0009942, allocations: 88.92 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.961e-05, allocations: 0 / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2613, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.901/1.162, allocations: 138.6 MB / 1.115 GB, free: 44.88 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/1.163, allocations: 72.3 kB / 1.115 GB, free: 44.85 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.003599/1.166, allocations: 2.1 MB / 1.117 GB, free: 43.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.994e-06/1.166, allocations: 0.625 kB / 1.117 GB, free: 43.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.983e-06/1.166, allocations: 4 kB / 1.117 GB, free: 43.69 MB / 0.7448 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.0002116/1.166, allocations: 336 kB / 1.118 GB, free: 43.33 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/1.167, allocations: 12.03 kB / 1.118 GB, free: 43.32 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/1.167, allocations: 34.47 kB / 1.118 GB, free: 43.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/1.167, allocations: 8.062 kB / 1.118 GB, free: 43.28 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/1.167, allocations: 167.2 kB / 1.118 GB, free: 43.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/1.167, allocations: 7.766 kB / 1.118 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/1.167, allocations: 3.812 kB / 1.118 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/1.167, allocations: 46.41 kB / 1.118 GB, free: 43.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/1.167, allocations: 1.422 kB / 1.118 GB, free: 43.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/1.167, allocations: 3.5 kB / 1.118 GB, free: 43.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/1.167, allocations: 4.016 kB / 1.118 GB, free: 43.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.04e-05/1.167, allocations: 16.31 kB / 1.118 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/1.167, allocations: 285.2 kB / 1.118 GB, free: 42.72 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.074e-05/1.167, allocations: 20.97 kB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.619e-05/1.167, allocations: 7.578 kB / 1.118 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/1.167, allocations: 0 / 1.118 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/1.167, allocations: 31.91 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/1.167, allocations: 4.062 kB / 1.118 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001138/1.167, allocations: 38.48 kB / 1.118 GB, free: 42.6 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/1.168, allocations: 58.83 kB / 1.118 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.222e-05/1.168, allocations: 131.1 kB / 1.119 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/1.168, allocations: 25.7 kB / 1.119 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/1.168, allocations: 87.36 kB / 1.119 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.05e-06/1.168, allocations: 4 kB / 1.119 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/1.168, allocations: 3.25 kB / 1.119 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.834e-05/1.168, allocations: 314.4 kB / 1.119 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.316e-05/1.168, allocations: 15.25 kB / 1.119 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.673e-05/1.168, allocations: 8.031 kB / 1.119 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.483e-05/1.168, allocations: 13.16 kB / 1.119 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.168, allocations: 0 / 1.119 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.033e-05/1.168, allocations: 62.78 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/1.168, allocations: 8 kB / 1.119 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.168, allocations: 0 / 1.119 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/1.168, allocations: 3.938 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.153e-05/1.168, allocations: 3.469 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/1.168, allocations: 0.8594 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/1.168, allocations: 11.95 kB / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/1.168, allocations: 0 / 1.119 GB, free: 41.88 MB / 0.7448 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 () * 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.25e-05/1.168, allocations: 105.2 kB / 1.119 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/1.168, allocations: 11.08 kB / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/1.168, allocations: 8.312 kB / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/1.168, allocations: 0.6562 kB / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/1.168, allocations: 0 / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/1.168, allocations: 3.375 kB / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/1.168, allocations: 368.9 kB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/1.168, allocations: 0 / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-06/1.168, allocations: 0 / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/1.168, allocations: 0.9375 kB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/1.168, allocations: 0.75 kB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/1.168, allocations: 0 / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.168, allocations: 7.953 kB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.145e-05/1.169, allocations: 61.25 kB / 1.12 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.722e-05/1.169, allocations: 88.44 kB / 1.12 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/1.169, allocations: 0 / 1.12 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.302e-05/1.169, allocations: 0.5 kB / 1.12 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/1.169, allocations: 4 kB / 1.12 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/1.169, allocations: 3.953 kB / 1.12 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.461e-05/1.169, allocations: 103.1 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.169, allocations: 3.938 kB / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001756/1.169, allocations: 11.12 kB / 1.12 GB, free: 41.07 MB / 0.7448 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 () * 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.0003744/1.169, allocations: 0.6303 MB / 1.12 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.739e-05/1.169, allocations: 24.38 kB / 1.12 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.169, allocations: 4.031 kB / 1.12 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.362e-06/1.169, allocations: 1.312 kB / 1.12 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.037e-05/1.169, allocations: 5.266 kB / 1.12 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000256/1.17, allocations: 109.8 kB / 1.121 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/1.17, allocations: 0.6836 MB / 1.121 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.251e-05/1.17, allocations: 6.375 kB / 1.121 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/1.17, allocations: 18.47 kB / 1.121 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.17, allocations: 4.062 kB / 1.121 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/1.183, allocations: 1.34 MB / 1.123 GB, free: 38.85 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/1.183, allocations: 193.8 kB / 1.123 GB, free: 38.62 MB / 0.7448 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1.o Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1.c In file included from Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1.c:7: In file included from ./Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.o Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c In file included from Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c:2: In file included from ./Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.c:7: In file included from ./Buildings_8_Buildings_Utilities_Cryptographics_Validation_SHA1_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings_Utilities_Cryptographics_Validation_SHA1_functions.o] Error 1