Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.425/2.425, allocations: 284.7 MB / 297.2 MB, free: 6.352 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.001515/0.001514, allocations: 172.9 kB / 365.6 MB, free: 2.617 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.106/2.106, allocations: 205.1 MB / 0.624 GB, free: 8.215 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 102.6 kB / 0.7371 GB, free: 40.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.78e-05/4.8e-05, allocations: 4 kB / 0.8574 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8084/0.8084, allocations: 115.2 MB / 0.9699 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.134/6.942, allocations: 2.072 GB / 3.042 GB, free: 24.59 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/6.943, allocations: 96.39 kB / 3.042 GB, free: 24.54 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8911/7.834, allocations: 58.84 MB / 3.1 GB, free: 327.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.874e-06/7.834, allocations: 1.125 kB / 3.1 GB, free: 327.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001161/7.834, allocations: 27.62 kB / 3.1 GB, free: 327.3 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003415/7.837, allocations: 1.069 MB / 3.101 GB, free: 326.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/7.838, allocations: 9.031 kB / 3.101 GB, free: 326.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003754/7.838, allocations: 127.9 kB / 3.101 GB, free: 326.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/7.84, allocations: 186.5 kB / 3.101 GB, free: 326.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/7.842, allocations: 0.618 MB / 3.102 GB, free: 326.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/7.842, allocations: 62.94 kB / 3.102 GB, free: 326.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/7.842, allocations: 83.77 kB / 3.102 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/7.845, allocations: 0.8413 MB / 3.103 GB, free: 325.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/7.845, allocations: 4 kB / 3.103 GB, free: 325.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/7.845, allocations: 32.72 kB / 3.103 GB, free: 325.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/7.845, allocations: 20.19 kB / 3.103 GB, free: 325.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002983/7.848, allocations: 1.038 MB / 3.104 GB, free: 325.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007134/7.855, allocations: 2.434 MB / 3.106 GB, free: 324.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003102/7.858, allocations: 0.8328 MB / 3.107 GB, free: 323.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008047/7.859, allocations: 272.2 kB / 3.107 GB, free: 323.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/7.859, allocations: 39.42 kB / 3.107 GB, free: 323.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/7.86, allocations: 423.8 kB / 3.108 GB, free: 323.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 4.258e-06/7.86, allocations: 1.5 kB / 3.108 GB, free: 323.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.002957/7.863, allocations: 0.7116 MB / 3.109 GB, free: 323.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.88e-05/7.863, allocations: 244.5 kB / 3.109 GB, free: 322.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/7.865, allocations: 0.5774 MB / 3.109 GB, free: 322.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002599/7.865, allocations: 42.3 kB / 3.109 GB, free: 322.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/7.865, allocations: 370.7 kB / 3.11 GB, free: 322.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/7.866, allocations: 248.6 kB / 3.11 GB, free: 322.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.924e-05/7.866, allocations: 14.94 kB / 3.11 GB, free: 322.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001388/7.866, allocations: 386.3 kB / 3.11 GB, free: 321.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006739/7.867, allocations: 204.9 kB / 3.111 GB, free: 321.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000768/7.867, allocations: 316.2 kB / 3.111 GB, free: 321.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007301/7.868, allocations: 258.4 kB / 3.111 GB, free: 321.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/7.868, allocations: 0 / 3.111 GB, free: 321.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002873/7.871, allocations: 0.7086 MB / 3.112 GB, free: 321.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/7.871, allocations: 5.938 kB / 3.112 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/7.871, allocations: 5.234 kB / 3.112 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009961/7.872, allocations: 82.08 kB / 3.112 GB, free: 321.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/7.874, allocations: 146 kB / 3.112 GB, free: 321.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/7.877, allocations: 1.525 MB / 3.113 GB, free: 319.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/7.878, allocations: 81.95 kB / 3.114 GB, free: 319.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/7.878, allocations: 37.75 kB / 3.114 GB, free: 319.7 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 () * 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.0003124/7.879, allocations: 144.1 kB / 3.114 GB, free: 319.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/7.879, allocations: 76.59 kB / 3.114 GB, free: 319.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003878/7.883, allocations: 1.043 MB / 3.115 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/7.883, allocations: 9.312 kB / 3.115 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/7.883, allocations: 0 / 3.115 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/7.883, allocations: 3.844 kB / 3.115 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005311/7.888, allocations: 1.927 MB / 3.117 GB, free: 318.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/7.888, allocations: 0 / 3.117 GB, free: 318.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/7.89, allocations: 157.2 kB / 3.117 GB, free: 318.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008837/7.891, allocations: 85.77 kB / 3.117 GB, free: 318.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/7.891, allocations: 26.81 kB / 3.117 GB, free: 318.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002484/7.893, allocations: 1.55 MB / 3.119 GB, free: 316.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/7.893, allocations: 1.5 kB / 3.119 GB, free: 316.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003242/7.896, allocations: 0.913 MB / 3.119 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007939/7.897, allocations: 294.7 kB / 3.12 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/7.898, allocations: 16.81 kB / 3.12 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/7.899, allocations: 73 kB / 3.12 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/7.899, allocations: 69.03 kB / 3.12 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/7.899, allocations: 29.3 kB / 3.12 GB, free: 316.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009893/7.9, allocations: 489 kB / 3.12 GB, free: 315.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/7.9, allocations: 0 / 3.12 GB, free: 315.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001793/7.902, allocations: 345.9 kB / 3.121 GB, free: 315.7 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) * 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.005632/7.908, allocations: 2.363 MB / 3.123 GB, free: 314.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002384/7.91, allocations: 0.7128 MB / 3.124 GB, free: 314.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/7.91, allocations: 0 / 3.124 GB, free: 314.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/7.911, allocations: 499.3 kB / 3.124 GB, free: 314 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/7.913, allocations: 233.6 kB / 3.124 GB, free: 314 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006741/7.92, allocations: 1.583 MB / 3.126 GB, free: 313.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006682/7.921, allocations: 1.036 MB / 3.127 GB, free: 312.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001606/7.923, allocations: 273.1 kB / 3.127 GB, free: 312.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008333/7.923, allocations: 373 kB / 3.128 GB, free: 312.3 MB / 0.948 GB Notification: Performance of SimCode: time 9.62e-07/7.923, allocations: 0 / 3.128 GB, free: 312.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08817/8.012, allocations: 31.2 MB / 3.158 GB, free: 299 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000261/8.012, allocations: 248.1 kB / 3.158 GB, free: 298.6 MB / 0.948 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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.c:7: In file included from ./Buildings_8_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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.c:2: In file included from ./Buildings_8_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_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_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_BaseClasses_Examples_SolarAzimuth_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.o] Error 1