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.714/0.714, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 179.8 kB / 169.7 MB, free: 1.742 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.708/1.708, allocations: 205.1 MB / 404.5 MB, free: 1.676 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.0008962/0.0008962, allocations: 90.42 kB / 481.8 MB, free: 4.332 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.211e-05, allocations: 4 kB / 0.5533 GB, free: 54.71 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1441, allocations: 76.76 MB / 0.6283 GB, free: 9.891 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5009/0.645, allocations: 104.3 MB / 0.7301 GB, free: 9.121 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.6454, allocations: 106.3 kB / 0.7302 GB, free: 9.051 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004868/0.6502, allocations: 2.137 MB / 0.7323 GB, free: 7.184 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.6503, allocations: 0 / 0.7323 GB, free: 7.184 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.6503, allocations: 4 kB / 0.7323 GB, free: 7.18 MB / 490.7 MB 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.0002612/0.6506, allocations: 324.6 kB / 0.7326 GB, free: 6.824 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.6506, allocations: 12.03 kB / 0.7326 GB, free: 6.812 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.6507, allocations: 34.56 kB / 0.7327 GB, free: 6.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.025e-05/0.6507, allocations: 3.953 kB / 0.7327 GB, free: 6.766 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.6508, allocations: 175 kB / 0.7328 GB, free: 6.555 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.6508, allocations: 0 / 0.7328 GB, free: 6.555 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.6508, allocations: 0 / 0.7328 GB, free: 6.555 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.489e-05/0.6509, allocations: 25.7 kB / 0.7329 GB, free: 6.523 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.6509, allocations: 0 / 0.7329 GB, free: 6.523 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.651, allocations: 0 / 0.7329 GB, free: 6.523 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.651, allocations: 4 kB / 0.7329 GB, free: 6.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.862e-05/0.651, allocations: 3.953 kB / 0.7329 GB, free: 6.516 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.6514, allocations: 464.5 kB / 0.7333 GB, free: 5.996 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.986e-05/0.6515, allocations: 172.1 kB / 0.7335 GB, free: 5.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.6515, allocations: 80.14 kB / 0.7336 GB, free: 5.738 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.6515, allocations: 75.28 kB / 0.7336 GB, free: 5.664 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/0.6516, allocations: 113.8 kB / 0.7337 GB, free: 5.543 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.6516, allocations: 3.938 kB / 0.7337 GB, free: 5.539 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 6.501e-05/0.6517, allocations: 33.66 kB / 0.7338 GB, free: 5.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.6517, allocations: 133 kB / 0.7339 GB, free: 5.359 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.927e-05/0.6518, allocations: 95.55 kB / 0.734 GB, free: 5.262 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.6518, allocations: 25.7 kB / 0.734 GB, free: 5.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.6519, allocations: 80.92 kB / 0.7341 GB, free: 5.148 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.6519, allocations: 0 / 0.7341 GB, free: 5.148 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.6519, allocations: 4 kB / 0.7341 GB, free: 5.145 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.652, allocations: 318.8 kB / 0.7344 GB, free: 4.824 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.595e-06/0.652, allocations: 0 / 0.7344 GB, free: 4.824 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.97e-06/0.6521, allocations: 3.812 kB / 0.7344 GB, free: 4.824 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.799e-05/0.6521, allocations: 4 kB / 0.7344 GB, free: 4.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.6521, allocations: 0 / 0.7344 GB, free: 4.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.671e-05/0.6522, allocations: 33.61 kB / 0.7344 GB, free: 4.781 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.6522, allocations: 11.94 kB / 0.7345 GB, free: 4.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.6522, allocations: 0 / 0.7345 GB, free: 4.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.6522, allocations: 4.094 kB / 0.7345 GB, free: 4.766 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.625e-05/0.6522, allocations: 3.938 kB / 0.7345 GB, free: 4.762 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.6522, allocations: 3.953 kB / 0.7345 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.235e-05/0.6523, allocations: 0 / 0.7345 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.6523, allocations: 0 / 0.7345 GB, free: 4.758 MB / 490.7 MB 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 () * 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 8.357e-05/0.6524, allocations: 188 kB / 0.7346 GB, free: 4.566 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.6524, allocations: 101 kB / 0.7347 GB, free: 4.461 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.6525, allocations: 108.1 kB / 0.7348 GB, free: 4.352 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.113e-05/0.6525, allocations: 187.1 kB / 0.735 GB, free: 4.164 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.807e-05/0.6526, allocations: 176.3 kB / 0.7352 GB, free: 3.984 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.997e-05/0.6527, allocations: 188.9 kB / 0.7354 GB, free: 3.793 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.6529, allocations: 400.4 kB / 0.7358 GB, free: 3.348 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.101e-05/0.6529, allocations: 104.9 kB / 0.7359 GB, free: 3.238 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.653, allocations: 113 kB / 0.736 GB, free: 3.121 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.114e-05/0.6531, allocations: 176.3 kB / 0.7361 GB, free: 2.941 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.584e-05/0.6531, allocations: 187.7 kB / 0.7363 GB, free: 2.754 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.397e-05/0.6532, allocations: 176.3 kB / 0.7365 GB, free: 2.574 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.926e-05/0.6533, allocations: 180.2 kB / 0.7366 GB, free: 2.391 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.6534, allocations: 311.1 kB / 0.7369 GB, free: 2.066 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.829e-05/0.6535, allocations: 182.2 kB / 0.7371 GB, free: 1.863 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.92e-05/0.6535, allocations: 188.2 kB / 0.7373 GB, free: 1.672 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.6536, allocations: 108.9 kB / 0.7374 GB, free: 1.559 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.6537, allocations: 183.8 kB / 0.7376 GB, free: 1.375 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.6537, allocations: 110 kB / 0.7377 GB, free: 1.262 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.503e-05/0.6538, allocations: 75.28 kB / 0.7378 GB, free: 1.188 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6538, allocations: 4 kB / 0.7378 GB, free: 1.184 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002476/0.654, allocations: 27.92 kB / 0.7378 GB, free: 1.156 MB / 490.7 MB 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 () * 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.0005688/0.6546, allocations: 0.8601 MB / 0.7386 GB, free: 292 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 4.525e-05/0.6547, allocations: 4 kB / 0.7386 GB, free: 288 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6547, allocations: 0 / 0.7386 GB, free: 288 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.226e-06/0.6547, allocations: 3.938 kB / 0.7386 GB, free: 284 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.655, allocations: 0.5261 MB / 0.7391 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.658, allocations: 1.17 MB / 0.7403 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.6582, allocations: 0.6809 MB / 0.741 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.259e-05/0.6582, allocations: 0 / 0.741 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.6583, allocations: 11.44 kB / 0.741 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of SimCode: time 3.1e-07/0.6583, allocations: 0 / 0.741 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01096/0.6693, allocations: 1.333 MB / 0.7423 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.6695, allocations: 256.1 kB / 0.7425 GB, free: 12.48 MB / 0.4948 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' -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: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' -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: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 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