Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.202/2.202, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.001529, allocations: 184 kB / 325.5 MB, free: 2.895 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.297/2.297, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001105/0.001105, allocations: 90.97 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004919, allocations: 12.44 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.218, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.462/7.68, allocations: 2.191 GB / 3.09 GB, free: 247.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004046/7.681, allocations: 105 kB / 3.09 GB, free: 247.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2735/7.954, allocations: 68.17 MB / 3.157 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.086e-06/7.954, allocations: 0 / 3.157 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001353/7.954, allocations: 23.53 kB / 3.157 GB, free: 240.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.004362/7.959, allocations: 1.245 MB / 3.158 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/7.959, allocations: 11.72 kB / 3.158 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000662/7.96, allocations: 144.3 kB / 3.158 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/7.961, allocations: 203.7 kB / 3.158 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/7.964, allocations: 0.6408 MB / 3.159 GB, free: 239 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.227e-05/7.964, allocations: 70.22 kB / 3.159 GB, free: 239 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/7.964, allocations: 86.22 kB / 3.159 GB, free: 239 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002983/7.967, allocations: 0.9615 MB / 3.16 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.316e-05/7.967, allocations: 0 / 3.16 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/7.967, allocations: 42.05 kB / 3.16 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/7.967, allocations: 23.16 kB / 3.16 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003333/7.971, allocations: 1.154 MB / 3.161 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007897/7.979, allocations: 2.661 MB / 3.164 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/7.981, allocations: 0.7972 MB / 3.165 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/7.981, allocations: 35.53 kB / 3.165 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00129/7.983, allocations: 461.9 kB / 3.165 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=80): time 5.341e-06/7.983, allocations: 0 / 3.165 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80): time 0.005433/7.988, allocations: 1.176 MB / 3.166 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/7.988, allocations: 250.8 kB / 3.167 GB, free: 236 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/7.99, allocations: 0.5977 MB / 3.167 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003165/7.99, allocations: 40.77 kB / 3.167 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/7.991, allocations: 410.4 kB / 3.168 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/7.991, allocations: 267 kB / 3.168 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.412e-05/7.991, allocations: 10.69 kB / 3.168 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001575/7.991, allocations: 386.2 kB / 3.168 GB, free: 235 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008363/7.992, allocations: 247.5 kB / 3.168 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009081/7.993, allocations: 351.6 kB / 3.169 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009341/7.994, allocations: 294.5 kB / 3.169 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/7.994, allocations: 0 / 3.169 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003149/7.997, allocations: 0.8029 MB / 3.17 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.477e-05/7.997, allocations: 15.86 kB / 3.17 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/7.997, allocations: 0 / 3.17 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009927/7.998, allocations: 78.97 kB / 3.17 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/8, allocations: 160.2 kB / 3.17 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002876/8.003, allocations: 1.536 MB / 3.172 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/8.004, allocations: 77.91 kB / 3.172 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/8.004, allocations: 31 kB / 3.172 GB, free: 233.1 MB / 0.8855 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 (84): * Single equations (assignments): 83 * 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.0008417/8.005, allocations: 269.7 kB / 3.172 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003983/8.006, allocations: 86.22 kB / 3.172 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004242/8.01, allocations: 1.112 MB / 3.173 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/8.01, allocations: 11.77 kB / 3.173 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/8.01, allocations: 0 / 3.173 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/8.01, allocations: 11.97 kB / 3.173 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006061/8.016, allocations: 2.046 MB / 3.175 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/8.016, allocations: 0 / 3.175 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/8.017, allocations: 163.6 kB / 3.175 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008877/8.018, allocations: 82.42 kB / 3.175 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002141/8.019, allocations: 25.77 kB / 3.175 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002567/8.021, allocations: 1.554 MB / 3.177 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/8.021, allocations: 3.938 kB / 3.177 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003455/8.025, allocations: 0.976 MB / 3.178 GB, free: 230 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009848/8.026, allocations: 298.8 kB / 3.178 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/8.026, allocations: 21.97 kB / 3.178 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/8.027, allocations: 65.31 kB / 3.178 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/8.027, allocations: 76.2 kB / 3.178 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/8.028, allocations: 30.55 kB / 3.178 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001034/8.029, allocations: 0.4946 MB / 3.179 GB, free: 229.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-07/8.029, allocations: 0 / 3.179 GB, free: 229.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002089/8.031, allocations: 383.3 kB / 3.179 GB, free: 229.5 MB / 0.8855 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 (94): * Single equations (assignments): 91 * 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.00634/8.037, allocations: 2.472 MB / 3.182 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002828/8.04, allocations: 0.7877 MB / 3.182 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/8.04, allocations: 3.906 kB / 3.182 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/8.042, allocations: 0.5165 MB / 3.183 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/8.044, allocations: 242.7 kB / 3.183 GB, free: 227.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/8.061, allocations: 5.356 MB / 3.188 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006836/8.062, allocations: 1.057 MB / 3.189 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001731/8.063, allocations: 262.9 kB / 3.19 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/8.065, allocations: 400.7 kB / 3.19 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.613e-06/8.065, allocations: 0 / 3.19 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1078/8.172, allocations: 30.34 MB / 3.22 GB, free: 209 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004835/8.173, allocations: 287.3 kB / 3.22 GB, free: 208.7 MB / 0.8855 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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_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_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_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_WallSolarAzimuth_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_functions.o] Error 1