Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.732/1.732, allocations: 289.7 MB / 302.2 MB, free: 2.125 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.001089/0.001089, allocations: 183.6 kB / 371.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.97/1.97, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001363/0.001363, allocations: 92.67 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.281e-05/4.311e-05, allocations: 0 / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3127, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.371/6.684, allocations: 2.074 GB / 3.053 GB, free: 122.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00036/6.684, allocations: 94.75 kB / 3.053 GB, free: 122.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1273/6.812, allocations: 58.84 MB / 3.111 GB, free: 71.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.863e-06/6.812, allocations: 0 / 3.111 GB, free: 71.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.49e-05/6.812, allocations: 20 kB / 3.111 GB, free: 71.08 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.001724/6.813, allocations: 1.077 MB / 3.112 GB, free: 69.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/6.814, allocations: 8.031 kB / 3.112 GB, free: 69.95 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001309/6.814, allocations: 131 kB / 3.112 GB, free: 69.81 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008393/6.814, allocations: 186.5 kB / 3.112 GB, free: 69.63 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008706/6.815, allocations: 0.6153 MB / 3.113 GB, free: 68.97 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.906e-05/6.815, allocations: 62 kB / 3.113 GB, free: 68.91 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-05/6.816, allocations: 83.98 kB / 3.113 GB, free: 68.83 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/6.817, allocations: 0.8339 MB / 3.114 GB, free: 67.96 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/6.817, allocations: 4 kB / 3.114 GB, free: 67.95 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-05/6.817, allocations: 36 kB / 3.114 GB, free: 67.92 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/6.817, allocations: 23.95 kB / 3.114 GB, free: 67.89 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/6.818, allocations: 1.038 MB / 3.115 GB, free: 66.86 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003259/6.821, allocations: 2.435 MB / 3.117 GB, free: 64.35 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/6.823, allocations: 0.8351 MB / 3.118 GB, free: 63.48 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003813/6.823, allocations: 275.7 kB / 3.118 GB, free: 63.21 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.029e-05/6.823, allocations: 36.72 kB / 3.118 GB, free: 63.18 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006076/6.824, allocations: 425.2 kB / 3.119 GB, free: 62.75 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.446e-06/6.824, allocations: 0 / 3.119 GB, free: 62.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.001552/6.826, allocations: 0.7149 MB / 3.12 GB, free: 62.02 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/6.826, allocations: 245.4 kB / 3.12 GB, free: 61.73 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006365/6.826, allocations: 0.5698 MB / 3.12 GB, free: 61.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.783e-05/6.826, allocations: 41.7 kB / 3.12 GB, free: 61.11 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/6.827, allocations: 372.4 kB / 3.121 GB, free: 60.74 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/6.827, allocations: 252.3 kB / 3.121 GB, free: 60.49 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/6.827, allocations: 8 kB / 3.121 GB, free: 60.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001062/6.827, allocations: 382.8 kB / 3.121 GB, free: 60.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/6.827, allocations: 205.5 kB / 3.122 GB, free: 59.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/6.828, allocations: 321 kB / 3.122 GB, free: 59.55 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/6.828, allocations: 254 kB / 3.122 GB, free: 59.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/6.828, allocations: 0 / 3.122 GB, free: 59.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001344/6.829, allocations: 0.7187 MB / 3.123 GB, free: 58.57 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/6.829, allocations: 8 kB / 3.123 GB, free: 58.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/6.829, allocations: 0.9375 kB / 3.123 GB, free: 58.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000575/6.83, allocations: 80.84 kB / 3.123 GB, free: 58.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/6.831, allocations: 151.8 kB / 3.123 GB, free: 58.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/6.832, allocations: 1.508 MB / 3.125 GB, free: 56.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000556/6.833, allocations: 85.67 kB / 3.125 GB, free: 56.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/6.833, allocations: 27.98 kB / 3.125 GB, free: 56.57 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.000161/6.833, allocations: 154.7 kB / 3.125 GB, free: 56.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/6.833, allocations: 83 kB / 3.125 GB, free: 56.34 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/6.835, allocations: 1.032 MB / 3.126 GB, free: 55.28 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.587e-06/6.835, allocations: 12 kB / 3.126 GB, free: 55.27 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/6.835, allocations: 0 / 3.126 GB, free: 55.27 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/6.835, allocations: 7.922 kB / 3.126 GB, free: 55.26 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/6.838, allocations: 1.94 MB / 3.128 GB, free: 53.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/6.838, allocations: 0 / 3.128 GB, free: 53.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/6.838, allocations: 159.8 kB / 3.128 GB, free: 53.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004788/6.839, allocations: 84.72 kB / 3.128 GB, free: 53.02 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/6.839, allocations: 23.98 kB / 3.128 GB, free: 53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/6.84, allocations: 1.54 MB / 3.13 GB, free: 51.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/6.84, allocations: 4.062 kB / 3.13 GB, free: 51.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/6.842, allocations: 0.9157 MB / 3.13 GB, free: 50.38 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003327/6.842, allocations: 291.6 kB / 3.131 GB, free: 50.08 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.421e-05/6.842, allocations: 16 kB / 3.131 GB, free: 50.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005937/6.843, allocations: 75.94 kB / 3.131 GB, free: 49.99 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/6.843, allocations: 64.69 kB / 3.131 GB, free: 49.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.724e-05/6.843, allocations: 35.97 kB / 3.131 GB, free: 49.89 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004936/6.844, allocations: 487.1 kB / 3.131 GB, free: 49.42 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.844, allocations: 0.8438 kB / 3.131 GB, free: 49.42 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001021/6.845, allocations: 351.2 kB / 3.132 GB, free: 49.07 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.003157/6.848, allocations: 2.351 MB / 3.134 GB, free: 46.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001146/6.849, allocations: 0.7097 MB / 3.135 GB, free: 46.08 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/6.849, allocations: 0 / 3.135 GB, free: 46.08 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006364/6.85, allocations: 498.9 kB / 3.135 GB, free: 45.58 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/6.851, allocations: 247.8 kB / 3.135 GB, free: 45.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/6.854, allocations: 1.579 MB / 3.137 GB, free: 43.72 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/6.855, allocations: 1.039 MB / 3.138 GB, free: 42.65 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007763/6.855, allocations: 270.2 kB / 3.138 GB, free: 42.38 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004396/6.856, allocations: 367.2 kB / 3.139 GB, free: 42.02 MB / 0.948 GB Notification: Performance of SimCode: time 3.01e-07/6.856, allocations: 0 / 3.139 GB, free: 42.02 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05446/6.91, allocations: 31.19 MB / 3.169 GB, free: 11.05 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/6.911, allocations: 253.1 kB / 3.169 GB, free: 10.71 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.c:7: In file included from ./Buildings_8_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 -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.c:2: In file included from ./Buildings_8_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_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.o] Error 1