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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9533/0.9533, allocations: 143.4 MB / 434.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003216, allocations: 8 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1614, allocations: 83.41 MB / 0.5975 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Cryptographics.Validation.SHA1): time 0.0006382/0.1621, allocations: 254.3 kB / 0.5978 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004047/0.1625, allocations: 148.1 kB / 0.5979 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.1626, allocations: 0 / 0.5979 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.1626, allocations: 3.938 kB / 0.5979 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.1628, allocations: 4 kB / 0.5979 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.682e-05/0.1628, allocations: 23.91 kB / 0.5979 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.635e-05/0.1629, allocations: 15.94 kB / 0.598 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.1629, allocations: 4 kB / 0.598 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.625e-05/0.163, allocations: 23.91 kB / 0.598 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003422/0.1633, allocations: 291.1 kB / 0.5983 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.1633, allocations: 4 kB / 0.5983 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.867e-05/0.1634, allocations: 16 kB / 0.5983 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.1634, allocations: 7.922 kB / 0.5983 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.1635, allocations: 37.64 kB / 0.5983 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.847e-05/0.1635, allocations: 15.97 kB / 0.5983 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1635, allocations: 0 / 0.5983 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1635, allocations: 0 / 0.5983 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.1636, allocations: 4 kB / 0.5983 GB, free: 6.895 MB / 0.4981 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.0002934/0.1639, allocations: 339.5 kB / 0.5987 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1639, allocations: 12.03 kB / 0.5987 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.459e-05/0.1639, allocations: 38.56 kB / 0.5987 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.164, allocations: 3.906 kB / 0.5987 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.1641, allocations: 186.8 kB / 0.5989 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1641, allocations: 4 kB / 0.5989 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.1641, allocations: 0 / 0.5989 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.1643, allocations: 49.61 kB / 0.5989 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1643, allocations: 11.98 kB / 0.599 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1643, allocations: 4 kB / 0.599 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1643, allocations: 0 / 0.599 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.08e-05/0.1644, allocations: 12 kB / 0.599 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.1647, allocations: 272.9 kB / 0.5992 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.687e-05/0.1647, allocations: 14.58 kB / 0.5992 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.1648, allocations: 12.92 kB / 0.5993 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-06/0.1648, allocations: 4 kB / 0.5993 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.1648, allocations: 34.5 kB / 0.5993 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1648, allocations: 0 / 0.5993 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001363/0.165, allocations: 41.56 kB / 0.5993 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.165, allocations: 55.39 kB / 0.5994 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.1651, allocations: 136.8 kB / 0.5995 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.1651, allocations: 25.7 kB / 0.5995 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.1652, allocations: 96.11 kB / 0.5996 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.861e-06/0.1652, allocations: 15.84 kB / 0.5996 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.1652, allocations: 0 / 0.5996 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1653, allocations: 318.8 kB / 0.6 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.314e-05/0.1654, allocations: 8 kB / 0.6 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/0.1654, allocations: 15.92 kB / 0.6 GB, free: 5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.496e-05/0.1654, allocations: 4 kB / 0.6 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1654, allocations: 4 kB / 0.6 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001095/0.1655, allocations: 57.69 kB / 0.6 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1656, allocations: 4 kB / 0.6 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1656, allocations: 7.984 kB / 0.6001 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1656, allocations: 0 / 0.6001 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.429e-05/0.1656, allocations: 7.953 kB / 0.6001 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1656, allocations: 0 / 0.6001 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.63e-05/0.1657, allocations: 7.906 kB / 0.6001 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1657, allocations: 7.984 kB / 0.6001 GB, free: 4.895 MB / 0.4981 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 7.264e-05/0.1657, allocations: 113.5 kB / 0.6002 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.1658, allocations: 4 kB / 0.6002 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.1658, allocations: 7.531 kB / 0.6002 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.1658, allocations: 8 kB / 0.6002 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1658, allocations: 4.141 kB / 0.6002 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1658, allocations: 4 kB / 0.6002 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.1661, allocations: 358.7 kB / 0.6005 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1661, allocations: 3.938 kB / 0.6006 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-06/0.1661, allocations: 0 / 0.6006 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1661, allocations: 0 / 0.6006 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.1661, allocations: 3.953 kB / 0.6006 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1661, allocations: 32 / 0.6006 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1662, allocations: 4 kB / 0.6006 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.853e-05/0.1662, allocations: 65.06 kB / 0.6006 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.1663, allocations: 93 kB / 0.6007 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.1663, allocations: 0 / 0.6007 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.384e-05/0.1663, allocations: 3.953 kB / 0.6007 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.1663, allocations: 4 kB / 0.6007 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.1664, allocations: 0 / 0.6007 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.832e-05/0.1664, allocations: 103.3 kB / 0.6008 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.745e-06/0.1664, allocations: 0 / 0.6008 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002001/0.1666, allocations: 19.94 kB / 0.6008 GB, free: 4.004 MB / 0.4981 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.000472/0.1671, allocations: 0.6311 MB / 0.6015 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.402e-05/0.1672, allocations: 19.98 kB / 0.6015 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1672, allocations: 4 kB / 0.6015 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.113e-06/0.1672, allocations: 0 / 0.6015 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.1674, allocations: 7.953 kB / 0.6015 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.1677, allocations: 147.1 kB / 0.6016 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.1679, allocations: 0.6809 MB / 0.6023 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.224e-05/0.168, allocations: 12.12 kB / 0.6023 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.168, allocations: 19.38 kB / 0.6023 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.168, allocations: 0 / 0.6023 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01305/0.1811, allocations: 1.374 MB / 0.6037 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.1813, allocations: 235.3 kB / 0.6039 GB, free: 0.9219 MB / 0.4981 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/Modelica 4.0.0+maint.om/Resources/C-Sources" -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 ./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/Modelica 4.0.0+maint.om/Resources/C-Sources" -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:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1_functions.c:7: ./BuildSysPro_BuildSysPro_IBPSA_Utilities_Cryptographics_Validation_SHA1_includes.h:5: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