Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8543/0.8543, allocations: 127.4 MB / 134.9 MB, free: 3.723 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001526, allocations: 172.9 kB / 164.6 MB, free: 6.527 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.882/1.882, allocations: 205.2 MB / 399.5 MB, free: 5.852 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008339/0.0008339, allocations: 87.52 kB / 476.7 MB, free: 8.586 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.444e-05/2.486e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1873, allocations: 76.75 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6335/0.8209, allocations: 102 MB / 0.7212 GB, free: 13.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/0.8213, allocations: 73.83 kB / 0.7213 GB, free: 13.27 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.831/1.652, allocations: 480.1 MB / 1.19 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.835e-06/1.652, allocations: 1.672 kB / 1.19 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.044e-05/1.652, allocations: 2.094 kB / 1.19 GB, free: 167.8 MB / 0.6355 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.0002739/1.653, allocations: 337.9 kB / 1.19 GB, free: 167.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.438e-05/1.653, allocations: 9.062 kB / 1.19 GB, free: 167.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/1.653, allocations: 10.8 kB / 1.19 GB, free: 167.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/1.653, allocations: 164.3 kB / 1.191 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/1.653, allocations: 6.016 kB / 1.191 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/1.653, allocations: 3.781 kB / 1.191 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.952e-05/1.653, allocations: 13.77 kB / 1.191 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/1.653, allocations: 44.22 kB / 1.191 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/1.653, allocations: 2.75 kB / 1.191 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/1.653, allocations: 0.5312 kB / 1.191 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/1.653, allocations: 0.6875 kB / 1.191 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/1.654, allocations: 252.2 kB / 1.191 GB, free: 167 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.734e-05/1.654, allocations: 20.55 kB / 1.191 GB, free: 167 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/1.654, allocations: 10.73 kB / 1.191 GB, free: 167 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/1.654, allocations: 3.984 kB / 1.191 GB, free: 167 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/1.654, allocations: 34.66 kB / 1.191 GB, free: 166.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/1.654, allocations: 0 / 1.191 GB, free: 166.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001303/1.654, allocations: 36.05 kB / 1.191 GB, free: 166.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/1.654, allocations: 52.22 kB / 1.191 GB, free: 166.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/1.654, allocations: 127.5 kB / 1.191 GB, free: 166.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/1.654, allocations: 27.55 kB / 1.191 GB, free: 166.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/1.654, allocations: 95.25 kB / 1.191 GB, free: 166.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-06/1.654, allocations: 0.9062 kB / 1.191 GB, free: 166.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/1.654, allocations: 0 / 1.191 GB, free: 166.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.268e-05/1.654, allocations: 318.4 kB / 1.192 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/1.654, allocations: 5.531 kB / 1.192 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.136e-05/1.654, allocations: 12.83 kB / 1.192 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/1.654, allocations: 22.62 kB / 1.192 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.654, allocations: 9.719 kB / 1.192 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001997/1.655, allocations: 72.66 kB / 1.192 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1.655, allocations: 5.906 kB / 1.192 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.655, allocations: 0 / 1.192 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.655, allocations: 1.312 kB / 1.192 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.748e-05/1.655, allocations: 2.781 kB / 1.192 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.655, allocations: 3.953 kB / 1.192 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/1.655, allocations: 1.422 kB / 1.192 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/1.655, allocations: 2.438 kB / 1.192 GB, free: 166.3 MB / 0.6355 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 5.529e-05/1.655, allocations: 112.8 kB / 1.192 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.662e-05/1.655, allocations: 45.78 kB / 1.192 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/1.655, allocations: 6.594 kB / 1.192 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/1.655, allocations: 11.14 kB / 1.192 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/1.655, allocations: 0 / 1.192 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/1.655, allocations: 1.375 kB / 1.192 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/1.655, allocations: 0 / 1.192 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/1.655, allocations: 337.6 kB / 1.192 GB, free: 165.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.655, allocations: 64 / 1.192 GB, free: 165.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-06/1.655, allocations: 4.75 kB / 1.192 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/1.655, allocations: 5.484 kB / 1.192 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/1.655, allocations: 0 / 1.192 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.655, allocations: 1.094 kB / 1.192 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/1.655, allocations: 0.5938 kB / 1.192 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.447e-05/1.655, allocations: 65.33 kB / 1.192 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/1.655, allocations: 90.2 kB / 1.192 GB, free: 165.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/1.655, allocations: 9.359 kB / 1.192 GB, free: 165.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.353e-05/1.655, allocations: 2.594 kB / 1.192 GB, free: 165.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/1.655, allocations: 7.047 kB / 1.192 GB, free: 165.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/1.655, allocations: 0 / 1.192 GB, free: 165.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.375e-05/1.656, allocations: 99.97 kB / 1.193 GB, free: 165.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.31e-07/1.656, allocations: 0 / 1.193 GB, free: 165.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002038/1.656, allocations: 17.73 kB / 1.193 GB, free: 165.5 MB / 0.6355 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.0004513/1.656, allocations: 0.6194 MB / 1.193 GB, free: 164.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.107e-05/1.656, allocations: 16.98 kB / 1.193 GB, free: 164.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/1.656, allocations: 4.594 kB / 1.193 GB, free: 164.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.914e-06/1.656, allocations: 7.875 kB / 1.193 GB, free: 164.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001087/1.656, allocations: 6.312 kB / 1.193 GB, free: 164.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/1.657, allocations: 101.7 kB / 1.193 GB, free: 164.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/1.657, allocations: 0.6877 MB / 1.194 GB, free: 164.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.513e-05/1.657, allocations: 10.53 kB / 1.194 GB, free: 164.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/1.657, allocations: 14.58 kB / 1.194 GB, free: 164 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/1.657, allocations: 0 / 1.194 GB, free: 164 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03068/1.688, allocations: 17.26 MB / 1.211 GB, free: 147.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/1.688, allocations: 179.5 kB / 1.211 GB, free: 147.5 MB / 0.6355 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1_FMU.o BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1.o BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1.c In file included from BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1.c:7: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1_functions.o BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1_functions.c In file included from BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1_functions.c:1: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1_functions.c:6: ./BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1_includes.h:4:10: fatal error: 'cryptographicsHash.c' file not found #include ^~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1_functions.o] Error 1