Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.635/2.635, allocations: 287.3 MB / 302.3 MB, free: 8.23 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.001662/0.001662, allocations: 189 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 99.73 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005069/0.0005074, allocations: 12.28 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.231, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.839/7.07, allocations: 2.073 GB / 3.051 GB, free: 201.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/7.07, allocations: 92.67 kB / 3.052 GB, free: 201.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.36/7.43, allocations: 92.81 MB / 3.142 GB, free: 117.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.196e-06/7.43, allocations: 4 kB / 3.142 GB, free: 117.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001161/7.43, allocations: 28 kB / 3.142 GB, free: 117.7 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.003987/7.434, allocations: 1.515 MB / 3.144 GB, free: 116.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/7.435, allocations: 16.02 kB / 3.144 GB, free: 116.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005283/7.435, allocations: 202.8 kB / 3.144 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/7.437, allocations: 245.9 kB / 3.144 GB, free: 115.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/7.439, allocations: 0.7754 MB / 3.145 GB, free: 114.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.874e-05/7.439, allocations: 102.8 kB / 3.145 GB, free: 114.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002582/7.439, allocations: 135.9 kB / 3.145 GB, free: 114.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00353/7.443, allocations: 1.368 MB / 3.146 GB, free: 113.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.867e-05/7.443, allocations: 4 kB / 3.147 GB, free: 113.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002113/7.443, allocations: 56 kB / 3.147 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-05/7.443, allocations: 47.94 kB / 3.147 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00393/7.447, allocations: 1.478 MB / 3.148 GB, free: 111.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008979/7.456, allocations: 3.608 MB / 3.152 GB, free: 107.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002618/7.459, allocations: 0.9633 MB / 3.153 GB, free: 106.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/7.459, allocations: 52.91 kB / 3.153 GB, free: 106.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001461/7.46, allocations: 0.5748 MB / 3.153 GB, free: 106.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=104): time 4.068e-06/7.46, allocations: 0 / 3.153 GB, free: 106.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=104): time 0.005884/7.466, allocations: 1.483 MB / 3.155 GB, free: 104.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/7.466, allocations: 252.3 kB / 3.155 GB, free: 104.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/7.468, allocations: 0.719 MB / 3.156 GB, free: 103.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002608/7.468, allocations: 45.7 kB / 3.156 GB, free: 103.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004864/7.469, allocations: 0.5504 MB / 3.156 GB, free: 103.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003742/7.469, allocations: 350.9 kB / 3.156 GB, free: 102.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/7.469, allocations: 20 kB / 3.156 GB, free: 102.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.758e-05/7.469, allocations: 341.9 kB / 3.157 GB, free: 102.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/7.47, allocations: 333.8 kB / 3.157 GB, free: 102.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/7.472, allocations: 475.3 kB / 3.158 GB, free: 101.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/7.473, allocations: 411.2 kB / 3.158 GB, free: 101.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.832e-05/7.473, allocations: 0 / 3.158 GB, free: 101.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003743/7.477, allocations: 1.063 MB / 3.159 GB, free: 100.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/7.477, allocations: 4 kB / 3.159 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/7.477, allocations: 0 / 3.159 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/7.478, allocations: 92.73 kB / 3.159 GB, free: 100 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/7.48, allocations: 211.7 kB / 3.159 GB, free: 99.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/7.482, allocations: 1.553 MB / 3.161 GB, free: 98.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/7.484, allocations: 107 kB / 3.161 GB, free: 98.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/7.484, allocations: 52.02 kB / 3.161 GB, free: 97.98 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 () * Number of clocked 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.0009258/7.485, allocations: 301.6 kB / 3.161 GB, free: 97.68 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003156/7.485, allocations: 98.78 kB / 3.161 GB, free: 97.58 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005078/7.49, allocations: 1.427 MB / 3.163 GB, free: 96.14 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/7.491, allocations: 8 kB / 3.163 GB, free: 96.13 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/7.491, allocations: 0 / 3.163 GB, free: 96.13 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/7.491, allocations: 11.98 kB / 3.163 GB, free: 96.12 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006655/7.497, allocations: 2.602 MB / 3.165 GB, free: 93.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/7.497, allocations: 4 kB / 3.165 GB, free: 93.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/7.499, allocations: 191.7 kB / 3.165 GB, free: 93.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008522/7.5, allocations: 92.72 kB / 3.166 GB, free: 93.17 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/7.5, allocations: 27.98 kB / 3.166 GB, free: 93.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002446/7.502, allocations: 1.579 MB / 3.167 GB, free: 91.42 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/7.502, allocations: 0 / 3.167 GB, free: 91.42 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00379/7.506, allocations: 1.168 MB / 3.168 GB, free: 90.23 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008434/7.507, allocations: 363.2 kB / 3.169 GB, free: 89.86 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/7.507, allocations: 20 kB / 3.169 GB, free: 89.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/7.509, allocations: 75.88 kB / 3.169 GB, free: 89.77 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002753/7.509, allocations: 76.89 kB / 3.169 GB, free: 89.69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/7.509, allocations: 39.98 kB / 3.169 GB, free: 89.65 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001208/7.51, allocations: 0.6122 MB / 3.169 GB, free: 89.04 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.81e-07/7.51, allocations: 0 / 3.169 GB, free: 89.04 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001937/7.512, allocations: 446.5 kB / 3.17 GB, free: 88.61 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) * Number of clocked states: 0 () * 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.006304/7.519, allocations: 2.643 MB / 3.172 GB, free: 86.12 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003266/7.522, allocations: 1.007 MB / 3.173 GB, free: 85.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/7.522, allocations: 0 / 3.173 GB, free: 85.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001667/7.524, allocations: 0.6135 MB / 3.174 GB, free: 84.48 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/7.526, allocations: 262.8 kB / 3.174 GB, free: 84.22 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/7.544, allocations: 6.82 MB / 3.181 GB, free: 77.21 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008168/7.545, allocations: 1.189 MB / 3.182 GB, free: 75.98 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001755/7.547, allocations: 300 kB / 3.182 GB, free: 75.69 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/7.548, allocations: 0.5305 MB / 3.183 GB, free: 75.16 MB / 0.948 GB Notification: Performance of SimCode: time 1.362e-06/7.548, allocations: 0 / 3.183 GB, free: 75.16 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1231/7.671, allocations: 34.91 MB / 3.217 GB, free: 40.57 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003175/7.671, allocations: 274.2 kB / 3.217 GB, free: 40.2 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_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 -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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_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 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.o] Error 1