Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.ShaGFunction.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.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.ShaGFunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.ShaGFunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_ShaGFunction",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.7463/0.7463, allocations: 128.7 MB / 143.7 MB, free: 2.309 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.001148/0.001148, allocations: 175.5 kB / 173.7 MB, free: 6.105 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.683/1.683, allocations: 205.4 MB / 409 MB, free: 10.49 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.0008849/0.0008846, allocations: 104.1 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.000373, allocations: 10.95 kB / 0.5605 GB, free: 97.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1837, allocations: 76.77 MB / 0.6355 GB, free: 30.39 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.3333, allocations: 104.4 MB / 0.7374 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/0.3337, allocations: 111.9 kB / 0.7375 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.00512/0.3388, allocations: 2.136 MB / 0.7396 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.406e-06/0.3389, allocations: 4 kB / 0.7396 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.3389, allocations: 0 / 0.7396 GB, free: 3.645 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003602/0.3393, allocations: 337.8 kB / 0.7399 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.3394, allocations: 8.031 kB / 0.7399 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.3394, allocations: 30.56 kB / 0.7399 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.3394, allocations: 7.953 kB / 0.7399 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.3396, allocations: 171 kB / 0.7401 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3396, allocations: 0 / 0.7401 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.3396, allocations: 0 / 0.7401 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.3398, allocations: 33.7 kB / 0.7401 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3398, allocations: 3.938 kB / 0.7401 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3398, allocations: 0 / 0.7401 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3398, allocations: 0 / 0.7401 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.178e-05/0.3398, allocations: 3.953 kB / 0.7401 GB, free: 2.961 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.3403, allocations: 464.7 kB / 0.7406 GB, free: 2.438 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.645e-05/0.3404, allocations: 169.1 kB / 0.7407 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.3405, allocations: 75.28 kB / 0.7408 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.903e-05/0.3405, allocations: 117.8 kB / 0.7409 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.3405, allocations: 0 / 0.7409 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.954e-05/0.3406, allocations: 41.56 kB / 0.741 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.3407, allocations: 126.7 kB / 0.7411 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.271e-05/0.3408, allocations: 89 kB / 0.7412 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3408, allocations: 25.7 kB / 0.7412 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.3409, allocations: 92.06 kB / 0.7413 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-06/0.3409, allocations: 0 / 0.7413 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.3409, allocations: 4 kB / 0.7413 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.341, allocations: 314.8 kB / 0.7416 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.3411, allocations: 3.938 kB / 0.7416 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-06/0.3411, allocations: 0 / 0.7416 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.208e-05/0.3411, allocations: 7.938 kB / 0.7416 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3411, allocations: 0 / 0.7416 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001085/0.3412, allocations: 29.7 kB / 0.7416 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3412, allocations: 4 kB / 0.7416 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3413, allocations: 4 kB / 0.7416 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3413, allocations: 8.078 kB / 0.7416 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.69e-05/0.3413, allocations: 0 / 0.7416 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.3413, allocations: 3.953 kB / 0.7416 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.347e-05/0.3413, allocations: 0 / 0.7416 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.3413, allocations: 0 / 0.7416 GB, free: 1.273 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001046/0.3415, allocations: 192.9 kB / 0.7418 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/0.3415, allocations: 105.1 kB / 0.7419 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.975e-05/0.3416, allocations: 104.1 kB / 0.742 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.717e-05/0.3417, allocations: 188.2 kB / 0.7422 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.666e-05/0.3418, allocations: 184.2 kB / 0.7424 GB, free: 488 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.178e-05/0.3418, allocations: 180.2 kB / 0.7425 GB, free: 300 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3678/0.7096, allocations: 407.8 kB / 0.7429 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/0.7097, allocations: 102.2 kB / 0.743 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.7097, allocations: 103.1 kB / 0.7431 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.191e-05/0.7097, allocations: 187.2 kB / 0.7433 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.7098, allocations: 179.8 kB / 0.7435 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.142e-05/0.7098, allocations: 182 kB / 0.7437 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.398e-05/0.7099, allocations: 179 kB / 0.7438 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.71, allocations: 309.1 kB / 0.7441 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.71, allocations: 187.4 kB / 0.7443 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.7101, allocations: 181.4 kB / 0.7445 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.7102, allocations: 107.2 kB / 0.7446 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.7102, allocations: 177.8 kB / 0.7447 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.7102, allocations: 110 kB / 0.7449 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.633e-05/0.7103, allocations: 82.61 kB / 0.7449 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7103, allocations: 3.828 kB / 0.7449 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004025/0.7107, allocations: 22.06 kB / 0.745 GB, free: 107.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0005324/0.7112, allocations: 0.8633 MB / 0.7458 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.653e-05/0.7113, allocations: 8.594 kB / 0.7458 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7113, allocations: 0.6875 kB / 0.7458 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.7113, allocations: 0 / 0.7458 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.7115, allocations: 0.5215 MB / 0.7463 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.7149, allocations: 1.219 MB / 0.7475 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.715, allocations: 0.6756 MB / 0.7482 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.961e-05/0.7151, allocations: 2.969 kB / 0.7482 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.7151, allocations: 15.27 kB / 0.7482 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of SimCode: time 4.61e-07/0.7151, allocations: 0 / 0.7482 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01296/0.7281, allocations: 1.321 MB / 0.7495 GB, free: 105 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.7284, allocations: 291.3 kB / 0.7498 GB, free: 104.7 MB / 0.5105 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_ShaGFunction.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_ShaGFunction.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_ShaGFunction.c:7: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_ShaGFunction_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_ShaGFunction_functions.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_ShaGFunction_functions.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_ShaGFunction_functions.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_ShaGFunction_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_ShaGFunction_functions.c:7: ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_ShaGFunction_includes.h:4:10: fatal error: 'cryptographicsHash.c' file not found #include ^~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_ShaGFunction_functions.o] Error 1