Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.204/2.204, allocations: 248.5 MB / 261 MB, free: 6.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 194.7 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.965/1.965, allocations: 205.2 MB / 0.571 GB, free: 11.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001639/0.001638, allocations: 105.1 kB / 0.6754 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.038e-05/4.051e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2117, allocations: 106.3 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.29/7.501, allocations: 2.191 GB / 3.081 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/7.502, allocations: 91.94 kB / 3.081 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2126/7.714, allocations: 58 MB / 3.138 GB, free: 89.37 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.174e-06/7.714, allocations: 0 / 3.138 GB, free: 89.37 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.407e-05/7.714, allocations: 28 kB / 3.138 GB, free: 89.34 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.002211/7.717, allocations: 1.047 MB / 3.139 GB, free: 88.24 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/7.717, allocations: 11.97 kB / 3.139 GB, free: 88.23 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001933/7.717, allocations: 130.9 kB / 3.139 GB, free: 88.09 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/7.718, allocations: 190.6 kB / 3.139 GB, free: 87.91 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/7.719, allocations: 0.6075 MB / 3.14 GB, free: 87.26 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-05/7.72, allocations: 62 kB / 3.14 GB, free: 87.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/7.72, allocations: 76 kB / 3.14 GB, free: 87.12 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/7.722, allocations: 0.8403 MB / 3.141 GB, free: 86.24 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/7.722, allocations: 0 / 3.141 GB, free: 86.24 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/7.722, allocations: 43.95 kB / 3.141 GB, free: 86.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/7.722, allocations: 16 kB / 3.141 GB, free: 86.18 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/7.724, allocations: 1.042 MB / 3.142 GB, free: 85.14 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005617/7.73, allocations: 2.422 MB / 3.144 GB, free: 82.65 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/7.731, allocations: 0.7077 MB / 3.145 GB, free: 81.93 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006136/7.732, allocations: 272.2 kB / 3.145 GB, free: 81.66 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/7.732, allocations: 40.72 kB / 3.145 GB, free: 81.62 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009133/7.733, allocations: 421.3 kB / 3.146 GB, free: 81.19 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 3.336e-06/7.733, allocations: 0 / 3.146 GB, free: 81.19 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.002671/7.736, allocations: 0.7148 MB / 3.147 GB, free: 80.46 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/7.736, allocations: 240.1 kB / 3.147 GB, free: 80.18 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/7.737, allocations: 0.5737 MB / 3.147 GB, free: 79.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001346/7.737, allocations: 41.7 kB / 3.147 GB, free: 79.55 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/7.738, allocations: 368.3 kB / 3.148 GB, free: 79.18 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/7.738, allocations: 256.3 kB / 3.148 GB, free: 78.93 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/7.738, allocations: 15.94 kB / 3.148 GB, free: 78.91 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000128/7.738, allocations: 386.8 kB / 3.148 GB, free: 78.53 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006071/7.739, allocations: 209.5 kB / 3.149 GB, free: 78.32 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006746/7.739, allocations: 317.1 kB / 3.149 GB, free: 77.98 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006547/7.74, allocations: 262 kB / 3.149 GB, free: 77.73 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/7.74, allocations: 0 / 3.149 GB, free: 77.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002507/7.743, allocations: 0.7227 MB / 3.15 GB, free: 76.99 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/7.743, allocations: 5.094 kB / 3.15 GB, free: 76.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/7.743, allocations: 4 kB / 3.15 GB, free: 76.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009643/7.744, allocations: 84.77 kB / 3.15 GB, free: 76.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/7.745, allocations: 151.8 kB / 3.15 GB, free: 76.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/7.747, allocations: 1.513 MB / 3.152 GB, free: 75.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/7.748, allocations: 79.34 kB / 3.152 GB, free: 75.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-05/7.749, allocations: 31.97 kB / 3.152 GB, free: 74.99 MB / 0.8698 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 (80): * Single equations (assignments): 79 * 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.000256/7.749, allocations: 152.9 kB / 3.152 GB, free: 74.83 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/7.749, allocations: 75.06 kB / 3.152 GB, free: 74.76 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003443/7.753, allocations: 1.005 MB / 3.153 GB, free: 73.74 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/7.753, allocations: 8 kB / 3.153 GB, free: 73.73 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/7.753, allocations: 0 / 3.153 GB, free: 73.73 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/7.753, allocations: 11.92 kB / 3.153 GB, free: 73.72 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004534/7.757, allocations: 1.87 MB / 3.155 GB, free: 71.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/7.757, allocations: 0 / 3.155 GB, free: 71.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/7.758, allocations: 151.8 kB / 3.155 GB, free: 71.64 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008427/7.759, allocations: 84.78 kB / 3.155 GB, free: 71.55 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.142e-05/7.759, allocations: 19.98 kB / 3.155 GB, free: 71.53 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002362/7.762, allocations: 1.544 MB / 3.156 GB, free: 69.85 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/7.762, allocations: 0 / 3.156 GB, free: 69.85 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/7.765, allocations: 0.8845 MB / 3.157 GB, free: 68.95 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006135/7.765, allocations: 291.7 kB / 3.158 GB, free: 68.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/7.765, allocations: 16 kB / 3.158 GB, free: 68.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/7.766, allocations: 63.95 kB / 3.158 GB, free: 68.56 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/7.767, allocations: 64.69 kB / 3.158 GB, free: 68.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.11e-05/7.767, allocations: 35.88 kB / 3.158 GB, free: 68.46 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008566/7.768, allocations: 483.1 kB / 3.158 GB, free: 68 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.1e-07/7.768, allocations: 0 / 3.158 GB, free: 68 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001396/7.769, allocations: 327.2 kB / 3.159 GB, free: 67.68 MB / 0.8698 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 (87): * Single equations (assignments): 84 * 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.004911/7.774, allocations: 2.328 MB / 3.161 GB, free: 65.47 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002134/7.776, allocations: 0.7059 MB / 3.162 GB, free: 64.75 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/7.776, allocations: 7.938 kB / 3.162 GB, free: 64.74 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/7.777, allocations: 475 kB / 3.162 GB, free: 64.26 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/7.779, allocations: 240.5 kB / 3.162 GB, free: 64.03 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006729/7.786, allocations: 1.552 MB / 3.164 GB, free: 62.43 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005748/7.787, allocations: 1.024 MB / 3.165 GB, free: 61.39 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001333/7.788, allocations: 254.2 kB / 3.165 GB, free: 61.13 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006942/7.789, allocations: 355.3 kB / 3.165 GB, free: 60.79 MB / 0.8698 GB Notification: Performance of SimCode: time 1.283e-06/7.789, allocations: 4 kB / 3.165 GB, free: 60.79 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08309/7.872, allocations: 30.84 MB / 3.195 GB, free: 30.17 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002646/7.872, allocations: 250.2 kB / 3.196 GB, free: 29.84 MB / 0.8698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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 -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.o] Error 1