Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.275/2.275, allocations: 248.5 MB / 261.1 MB, free: 5.98 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.001563/0.001563, allocations: 178.6 kB / 320.4 MB, free: 15.35 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.966/1.966, allocations: 205.2 MB / 0.571 GB, free: 11.77 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.00109/0.00109, allocations: 99.95 kB / 0.6754 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.29e-05/4.306e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2094, allocations: 106.2 MB / 0.8907 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.278/7.487, allocations: 2.19 GB / 3.08 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/7.488, allocations: 91.33 kB / 3.08 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2193/7.707, allocations: 57.64 MB / 3.137 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.114e-06/7.707, allocations: 0 / 3.137 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.364e-05/7.707, allocations: 27.94 kB / 3.137 GB, free: 106.8 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002613/7.71, allocations: 1.035 MB / 3.138 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/7.71, allocations: 12.03 kB / 3.138 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002737/7.71, allocations: 126.9 kB / 3.138 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/7.712, allocations: 186.6 kB / 3.138 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/7.714, allocations: 0.5997 MB / 3.139 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.767e-05/7.714, allocations: 58 kB / 3.139 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/7.714, allocations: 79.98 kB / 3.139 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/7.716, allocations: 0.8287 MB / 3.14 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/7.716, allocations: 0 / 3.14 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/7.716, allocations: 35.95 kB / 3.14 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/7.716, allocations: 16 kB / 3.14 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/7.718, allocations: 1.023 MB / 3.141 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005816/7.724, allocations: 2.379 MB / 3.143 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/7.726, allocations: 0.7712 MB / 3.144 GB, free: 99.41 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006396/7.727, allocations: 259.2 kB / 3.144 GB, free: 99.15 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/7.727, allocations: 36.72 kB / 3.144 GB, free: 99.12 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008883/7.728, allocations: 410.5 kB / 3.144 GB, free: 98.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.456e-06/7.728, allocations: 0 / 3.144 GB, free: 98.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.002556/7.73, allocations: 0.6837 MB / 3.145 GB, free: 98 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/7.73, allocations: 244.1 kB / 3.145 GB, free: 97.71 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/7.731, allocations: 0.5658 MB / 3.146 GB, free: 97.14 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001674/7.732, allocations: 41.64 kB / 3.146 GB, free: 97.09 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00032/7.732, allocations: 368.4 kB / 3.146 GB, free: 96.73 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/7.732, allocations: 236.5 kB / 3.146 GB, free: 96.49 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/7.732, allocations: 16 kB / 3.146 GB, free: 96.48 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001228/7.732, allocations: 374.8 kB / 3.147 GB, free: 96.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005468/7.733, allocations: 201.5 kB / 3.147 GB, free: 95.91 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006425/7.734, allocations: 309.1 kB / 3.147 GB, free: 95.57 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006227/7.734, allocations: 242 kB / 3.148 GB, free: 95.34 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/7.734, allocations: 0 / 3.148 GB, free: 95.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002482/7.737, allocations: 0.6875 MB / 3.148 GB, free: 94.64 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/7.737, allocations: 11.94 kB / 3.148 GB, free: 94.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/7.737, allocations: 0 / 3.148 GB, free: 94.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009593/7.738, allocations: 80.84 kB / 3.148 GB, free: 94.54 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/7.739, allocations: 139.8 kB / 3.148 GB, free: 94.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/7.742, allocations: 1.525 MB / 3.15 GB, free: 92.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/7.743, allocations: 83.41 kB / 3.15 GB, free: 92.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.024e-05/7.743, allocations: 27.98 kB / 3.15 GB, free: 92.63 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 (75): * Single equations (assignments): 74 * 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.0002509/7.743, allocations: 145.7 kB / 3.15 GB, free: 92.48 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/7.743, allocations: 79.05 kB / 3.15 GB, free: 92.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003333/7.747, allocations: 0.9729 MB / 3.151 GB, free: 91.42 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/7.747, allocations: 11.98 kB / 3.151 GB, free: 91.41 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/7.747, allocations: 0 / 3.151 GB, free: 91.41 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/7.747, allocations: 3.984 kB / 3.151 GB, free: 91.41 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004669/7.752, allocations: 1.863 MB / 3.153 GB, free: 89.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/7.752, allocations: 0 / 3.153 GB, free: 89.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/7.753, allocations: 147.8 kB / 3.153 GB, free: 89.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008271/7.754, allocations: 84.78 kB / 3.153 GB, free: 89.25 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.652e-05/7.754, allocations: 23.98 kB / 3.153 GB, free: 89.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/7.756, allocations: 1.54 MB / 3.155 GB, free: 87.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/7.756, allocations: 0 / 3.155 GB, free: 87.55 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/7.759, allocations: 0.8767 MB / 3.156 GB, free: 86.66 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006431/7.76, allocations: 279.7 kB / 3.156 GB, free: 86.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/7.76, allocations: 20.06 kB / 3.156 GB, free: 86.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/7.761, allocations: 71.94 kB / 3.156 GB, free: 86.27 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/7.761, allocations: 60.69 kB / 3.156 GB, free: 86.21 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.692e-05/7.761, allocations: 31.92 kB / 3.156 GB, free: 86.18 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008271/7.762, allocations: 471.1 kB / 3.156 GB, free: 85.73 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.41e-07/7.762, allocations: 0 / 3.156 GB, free: 85.73 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001462/7.763, allocations: 343.2 kB / 3.157 GB, free: 85.39 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.004844/7.768, allocations: 2.302 MB / 3.159 GB, free: 83.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002221/7.771, allocations: 0.6864 MB / 3.16 GB, free: 82.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/7.771, allocations: 0 / 3.16 GB, free: 82.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/7.772, allocations: 470.9 kB / 3.16 GB, free: 82.03 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/7.774, allocations: 244.5 kB / 3.16 GB, free: 81.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006234/7.78, allocations: 1.529 MB / 3.162 GB, free: 80.23 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006049/7.781, allocations: 1.024 MB / 3.163 GB, free: 79.18 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001391/7.782, allocations: 254 kB / 3.163 GB, free: 78.93 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007273/7.783, allocations: 351.3 kB / 3.163 GB, free: 78.59 MB / 0.8698 GB Notification: Performance of SimCode: time 1.332e-06/7.783, allocations: 0 / 3.163 GB, free: 78.59 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/7.894, allocations: 30.46 MB / 3.193 GB, free: 48.35 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003029/7.894, allocations: 257.2 kB / 3.193 GB, free: 48.01 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_AltitudeAngle.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_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_AltitudeAngle_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_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_AltitudeAngle_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_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_AltitudeAngle_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.o] Error 1