Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.157/2.157, allocations: 248.5 MB / 261.1 MB, free: 5.938 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.001528/0.001528, allocations: 178.7 kB / 320.4 MB, free: 15.36 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.1 MB / 0.571 GB, free: 11.83 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.001175/0.001175, allocations: 98.39 kB / 0.6754 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.664e-05/3.672e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.223, allocations: 106.3 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.339/7.562, allocations: 2.191 GB / 3.081 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/7.562, allocations: 95.58 kB / 3.081 GB, free: 143 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.218/7.78, allocations: 58.17 MB / 3.138 GB, free: 89.47 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.753e-06/7.78, allocations: 0 / 3.138 GB, free: 89.47 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.783e-05/7.781, allocations: 27.94 kB / 3.138 GB, free: 89.44 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002656/7.783, allocations: 1.07 MB / 3.139 GB, free: 88.32 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/7.783, allocations: 8.031 kB / 3.139 GB, free: 88.31 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002562/7.784, allocations: 127 kB / 3.139 GB, free: 88.18 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/7.785, allocations: 190.5 kB / 3.14 GB, free: 87.99 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/7.787, allocations: 0.629 MB / 3.14 GB, free: 87.32 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/7.787, allocations: 99.62 kB / 3.14 GB, free: 87.22 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/7.787, allocations: 79.98 kB / 3.14 GB, free: 87.14 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/7.789, allocations: 0.8405 MB / 3.141 GB, free: 86.26 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/7.789, allocations: 3.953 kB / 3.141 GB, free: 86.26 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/7.789, allocations: 32 kB / 3.141 GB, free: 86.23 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/7.789, allocations: 20 kB / 3.141 GB, free: 86.21 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/7.792, allocations: 1.042 MB / 3.142 GB, free: 85.16 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00548/7.797, allocations: 2.419 MB / 3.145 GB, free: 82.68 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002554/7.8, allocations: 0.8312 MB / 3.145 GB, free: 81.81 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006178/7.8, allocations: 267.2 kB / 3.146 GB, free: 81.55 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/7.8, allocations: 36.72 kB / 3.146 GB, free: 81.51 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009367/7.801, allocations: 433.2 kB / 3.146 GB, free: 81.07 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 3.116e-06/7.801, allocations: 0 / 3.146 GB, free: 81.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.002543/7.804, allocations: 0.6954 MB / 3.147 GB, free: 80.36 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.789e-05/7.804, allocations: 248 kB / 3.147 GB, free: 80.07 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/7.805, allocations: 0.5814 MB / 3.148 GB, free: 79.48 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/7.805, allocations: 45.7 kB / 3.148 GB, free: 79.43 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000331/7.806, allocations: 364.5 kB / 3.148 GB, free: 79.06 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/7.806, allocations: 252.3 kB / 3.148 GB, free: 78.81 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/7.806, allocations: 8 kB / 3.148 GB, free: 78.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001277/7.806, allocations: 386.8 kB / 3.149 GB, free: 78.42 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005547/7.807, allocations: 201.5 kB / 3.149 GB, free: 78.22 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006639/7.807, allocations: 317.1 kB / 3.149 GB, free: 77.88 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000646/7.808, allocations: 250 kB / 3.149 GB, free: 77.64 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/7.808, allocations: 4 kB / 3.149 GB, free: 77.63 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002489/7.811, allocations: 0.7071 MB / 3.15 GB, free: 76.91 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/7.811, allocations: 4 kB / 3.15 GB, free: 76.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/7.811, allocations: 4.062 kB / 3.15 GB, free: 76.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009623/7.812, allocations: 84.77 kB / 3.15 GB, free: 76.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/7.813, allocations: 151.8 kB / 3.15 GB, free: 76.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/7.815, allocations: 1.513 MB / 3.152 GB, free: 75.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/7.817, allocations: 87.38 kB / 3.152 GB, free: 74.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/7.817, allocations: 31.97 kB / 3.152 GB, free: 74.9 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 (78): * Single equations (assignments): 77 * 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.0002733/7.817, allocations: 152.8 kB / 3.152 GB, free: 74.75 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/7.817, allocations: 79.06 kB / 3.152 GB, free: 74.67 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003466/7.821, allocations: 1.013 MB / 3.153 GB, free: 73.64 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/7.821, allocations: 12 kB / 3.153 GB, free: 73.63 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/7.821, allocations: 0 / 3.153 GB, free: 73.63 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/7.821, allocations: 7.938 kB / 3.153 GB, free: 73.62 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004692/7.826, allocations: 1.929 MB / 3.155 GB, free: 71.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/7.826, allocations: 0 / 3.155 GB, free: 71.63 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/7.827, allocations: 163.8 kB / 3.155 GB, free: 71.47 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008077/7.828, allocations: 84.77 kB / 3.155 GB, free: 71.39 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-05/7.828, allocations: 23.98 kB / 3.155 GB, free: 71.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/7.83, allocations: 1.544 MB / 3.157 GB, free: 69.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/7.83, allocations: 0 / 3.157 GB, free: 69.68 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/7.833, allocations: 0.9156 MB / 3.158 GB, free: 68.75 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006249/7.833, allocations: 287.7 kB / 3.158 GB, free: 68.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/7.834, allocations: 19.98 kB / 3.158 GB, free: 68.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/7.835, allocations: 71.95 kB / 3.158 GB, free: 68.36 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/7.835, allocations: 64.64 kB / 3.158 GB, free: 68.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.128e-05/7.835, allocations: 39.97 kB / 3.158 GB, free: 68.25 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008034/7.836, allocations: 471.1 kB / 3.159 GB, free: 67.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.11e-07/7.836, allocations: 0 / 3.159 GB, free: 67.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001398/7.837, allocations: 331.3 kB / 3.159 GB, free: 67.47 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 (93): * Single equations (assignments): 90 * 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.004998/7.842, allocations: 2.337 MB / 3.161 GB, free: 65.25 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002111/7.844, allocations: 0.7175 MB / 3.162 GB, free: 64.52 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/7.845, allocations: 0 / 3.162 GB, free: 64.52 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/7.846, allocations: 491 kB / 3.162 GB, free: 64.02 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/7.848, allocations: 244.1 kB / 3.163 GB, free: 63.79 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006222/7.854, allocations: 1.572 MB / 3.164 GB, free: 62.18 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005749/7.855, allocations: 1.036 MB / 3.165 GB, free: 61.12 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001407/7.856, allocations: 262.2 kB / 3.165 GB, free: 60.86 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007085/7.857, allocations: 367.3 kB / 3.166 GB, free: 60.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.102e-06/7.857, allocations: 0 / 3.166 GB, free: 60.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/7.963, allocations: 30.81 MB / 3.196 GB, free: 29.91 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/7.964, allocations: 260.2 kB / 3.196 GB, free: 29.57 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_SolarAzimuth.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_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_SolarAzimuth_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_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_SolarAzimuth_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_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_SolarAzimuth_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.o] Error 1