Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.774/1.774, allocations: 289.7 MB / 302.3 MB, free: 2.168 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.001145/0.001145, allocations: 182.4 kB / 371.6 MB, free: 3.414 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0009006/0.0009007, allocations: 90.45 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.419e-05/4.437e-05, allocations: 0 / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3571, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.777/7.134, allocations: 2.074 GB / 3.054 GB, free: 121.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/7.134, allocations: 86.83 kB / 3.054 GB, free: 121.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2023/7.337, allocations: 92.5 MB / 3.145 GB, free: 36.22 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.124e-06/7.337, allocations: 0 / 3.145 GB, free: 36.22 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001339/7.337, allocations: 32 kB / 3.145 GB, free: 36.19 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003384/7.34, allocations: 1.374 MB / 3.146 GB, free: 34.77 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/7.34, allocations: 8.031 kB / 3.146 GB, free: 34.76 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004432/7.341, allocations: 206.8 kB / 3.146 GB, free: 34.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/7.342, allocations: 241.9 kB / 3.146 GB, free: 34.31 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/7.344, allocations: 0.7715 MB / 3.147 GB, free: 33.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/7.344, allocations: 106.8 kB / 3.147 GB, free: 33.39 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002886/7.344, allocations: 132 kB / 3.147 GB, free: 33.26 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002645/7.347, allocations: 1.334 MB / 3.149 GB, free: 31.87 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/7.347, allocations: 0 / 3.149 GB, free: 31.87 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/7.347, allocations: 56 kB / 3.149 GB, free: 31.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/7.347, allocations: 36 kB / 3.149 GB, free: 31.78 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/7.35, allocations: 1.419 MB / 3.15 GB, free: 30.36 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006358/7.356, allocations: 3.612 MB / 3.154 GB, free: 26.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/7.357, allocations: 0.9186 MB / 3.155 GB, free: 25.75 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005645/7.358, allocations: 375.8 kB / 3.155 GB, free: 25.38 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/7.358, allocations: 44.92 kB / 3.155 GB, free: 25.34 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008815/7.359, allocations: 0.5553 MB / 3.155 GB, free: 24.77 MB / 0.948 GB Notification: Performance of pre-optimization done (n=104): time 3.848e-06/7.359, allocations: 0 / 3.155 GB, free: 24.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=104): time 0.002206/7.361, allocations: 0.9551 MB / 3.156 GB, free: 23.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/7.361, allocations: 248.3 kB / 3.157 GB, free: 23.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/7.363, allocations: 0.7113 MB / 3.157 GB, free: 22.78 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.935e-05/7.363, allocations: 53.7 kB / 3.157 GB, free: 22.72 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004529/7.363, allocations: 0.5543 MB / 3.158 GB, free: 22.16 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/7.364, allocations: 346.9 kB / 3.158 GB, free: 21.81 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/7.364, allocations: 16 kB / 3.158 GB, free: 21.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.962e-05/7.364, allocations: 345.9 kB / 3.159 GB, free: 21.45 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/7.364, allocations: 317.9 kB / 3.159 GB, free: 21.14 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000608/7.365, allocations: 443.5 kB / 3.159 GB, free: 20.68 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006579/7.366, allocations: 384.8 kB / 3.16 GB, free: 20.31 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/7.366, allocations: 3.938 kB / 3.16 GB, free: 20.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002103/7.368, allocations: 1.013 MB / 3.161 GB, free: 19.28 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/7.368, allocations: 4.781 kB / 3.161 GB, free: 19.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/7.368, allocations: 3.984 kB / 3.161 GB, free: 19.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006311/7.368, allocations: 84.84 kB / 3.161 GB, free: 19.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008994/7.369, allocations: 215.6 kB / 3.161 GB, free: 18.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/7.371, allocations: 1.528 MB / 3.162 GB, free: 17.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/7.372, allocations: 111.1 kB / 3.163 GB, free: 17.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/7.372, allocations: 39.97 kB / 3.163 GB, free: 17.15 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000245/7.373, allocations: 162.4 kB / 3.163 GB, free: 16.99 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/7.373, allocations: 98.78 kB / 3.163 GB, free: 16.89 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/7.376, allocations: 1.372 MB / 3.164 GB, free: 15.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/7.376, allocations: 8 kB / 3.164 GB, free: 15.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/7.376, allocations: 7.984 kB / 3.164 GB, free: 15.49 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/7.376, allocations: 3.984 kB / 3.164 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004604/7.38, allocations: 2.559 MB / 3.167 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/7.38, allocations: 0 / 3.167 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007685/7.381, allocations: 203.8 kB / 3.167 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004992/7.382, allocations: 80.72 kB / 3.167 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.843e-05/7.382, allocations: 39.92 kB / 3.167 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/7.383, allocations: 1.548 MB / 3.169 GB, free: 10.86 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/7.383, allocations: 4.031 kB / 3.169 GB, free: 10.85 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/7.386, allocations: 1.125 MB / 3.17 GB, free: 9.707 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007894/7.386, allocations: 363.2 kB / 3.17 GB, free: 9.332 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002849/7.387, allocations: 19.94 kB / 3.17 GB, free: 9.312 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008694/7.388, allocations: 75.94 kB / 3.17 GB, free: 9.238 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/7.388, allocations: 72.89 kB / 3.17 GB, free: 9.168 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.22e-05/7.388, allocations: 43.97 kB / 3.17 GB, free: 9.125 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009926/7.389, allocations: 0.6046 MB / 3.171 GB, free: 8.527 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/7.389, allocations: 0 / 3.171 GB, free: 8.527 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001659/7.391, allocations: 438.6 kB / 3.171 GB, free: 8.098 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004395/7.395, allocations: 2.561 MB / 3.174 GB, free: 5.609 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001793/7.397, allocations: 0.9601 MB / 3.175 GB, free: 4.637 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/7.397, allocations: 0 / 3.175 GB, free: 4.637 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009087/7.398, allocations: 0.5824 MB / 3.175 GB, free: 4.047 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/7.399, allocations: 254.5 kB / 3.175 GB, free: 3.801 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006104/7.405, allocations: 2.102 MB / 3.178 GB, free: 1.648 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007467/7.406, allocations: 1.193 MB / 3.179 GB, free: 432 kB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001157/7.407, allocations: 296.1 kB / 3.179 GB, free: 132 kB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.7342/8.141, allocations: 0.5354 MB / 3.179 GB, free: 242.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.944e-06/8.142, allocations: 0 / 3.179 GB, free: 242.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08024/8.222, allocations: 36.77 MB / 3.215 GB, free: 240.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/8.222, allocations: 243.5 kB / 3.216 GB, free: 240.4 MB / 0.948 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_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_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_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_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_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.o] Error 1