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.429/2.429, allocations: 251 MB / 265.9 MB, free: 11.69 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.001566/0.001566, allocations: 179.8 kB / 325.5 MB, free: 2.898 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.393/2.393, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.001107/0.001107, allocations: 87.05 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004741, allocations: 12.12 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2055, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.364/7.57, allocations: 2.191 GB / 3.09 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003813/7.57, allocations: 101.3 kB / 3.09 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2277/7.798, allocations: 58.47 MB / 3.147 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.306e-06/7.798, allocations: 3.875 kB / 3.147 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.904e-05/7.798, allocations: 23.53 kB / 3.147 GB, free: 242.2 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.0036/7.802, allocations: 1.186 MB / 3.148 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/7.802, allocations: 11.81 kB / 3.148 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003896/7.802, allocations: 134.1 kB / 3.148 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/7.804, allocations: 187.3 kB / 3.148 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/7.806, allocations: 0.6425 MB / 3.149 GB, free: 241 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/7.806, allocations: 91.2 kB / 3.149 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/7.806, allocations: 75.62 kB / 3.149 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/7.808, allocations: 0.8876 MB / 3.15 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/7.808, allocations: 3.953 kB / 3.15 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/7.809, allocations: 31.56 kB / 3.15 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/7.809, allocations: 19.62 kB / 3.15 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003102/7.812, allocations: 1.101 MB / 3.151 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006291/7.818, allocations: 2.424 MB / 3.153 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/7.822, allocations: 0.8886 MB / 3.154 GB, free: 239.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/7.822, allocations: 34.53 kB / 3.154 GB, free: 239.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001353/7.823, allocations: 447.4 kB / 3.155 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 4.759e-06/7.823, allocations: 3.984 kB / 3.155 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.005443/7.829, allocations: 1.159 MB / 3.156 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.941e-05/7.829, allocations: 242.2 kB / 3.156 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/7.83, allocations: 0.5837 MB / 3.157 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002067/7.83, allocations: 39.86 kB / 3.157 GB, free: 239 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/7.831, allocations: 370.7 kB / 3.157 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/7.831, allocations: 255.4 kB / 3.157 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.94e-05/7.831, allocations: 9.25 kB / 3.157 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001438/7.831, allocations: 380.1 kB / 3.158 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000921/7.832, allocations: 234.9 kB / 3.158 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/7.833, allocations: 345.4 kB / 3.158 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009819/7.834, allocations: 279.1 kB / 3.158 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/7.834, allocations: 4 kB / 3.158 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003239/7.837, allocations: 0.7579 MB / 3.159 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/7.837, allocations: 3.969 kB / 3.159 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/7.837, allocations: 0 / 3.159 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/7.838, allocations: 88.94 kB / 3.159 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/7.84, allocations: 152.6 kB / 3.159 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/7.843, allocations: 1.523 MB / 3.161 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/7.844, allocations: 92.47 kB / 3.161 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/7.844, allocations: 29.75 kB / 3.161 GB, free: 236.8 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 (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.0007569/7.845, allocations: 252.2 kB / 3.161 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/7.845, allocations: 81.47 kB / 3.161 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004278/7.849, allocations: 1.085 MB / 3.162 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/7.85, allocations: 7.812 kB / 3.162 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/7.85, allocations: 4 kB / 3.162 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/7.85, allocations: 10.89 kB / 3.162 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005853/7.855, allocations: 1.999 MB / 3.164 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/7.855, allocations: 0 / 3.164 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/7.857, allocations: 165.8 kB / 3.165 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008604/7.858, allocations: 86.98 kB / 3.165 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/7.858, allocations: 26.45 kB / 3.165 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00252/7.86, allocations: 1.549 MB / 3.166 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/7.86, allocations: 64 / 3.166 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/7.864, allocations: 0.9781 MB / 3.167 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007366/7.865, allocations: 294.7 kB / 3.167 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/7.865, allocations: 14.84 kB / 3.167 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/7.866, allocations: 71.31 kB / 3.168 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/7.866, allocations: 69.41 kB / 3.168 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/7.866, allocations: 37.7 kB / 3.168 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000904/7.867, allocations: 477.9 kB / 3.168 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.7e-07/7.867, allocations: 0 / 3.168 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001586/7.869, allocations: 335.4 kB / 3.168 GB, free: 234.2 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 (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.006066/7.875, allocations: 2.454 MB / 3.171 GB, free: 233 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002884/7.878, allocations: 0.7816 MB / 3.172 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/7.878, allocations: 0 / 3.172 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/7.88, allocations: 0.5149 MB / 3.172 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/7.882, allocations: 230.6 kB / 3.172 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/7.898, allocations: 5.099 MB / 3.177 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/7.899, allocations: 1.033 MB / 3.178 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001591/7.9, allocations: 263.2 kB / 3.179 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008105/7.901, allocations: 365.5 kB / 3.179 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.643e-06/7.901, allocations: 3.969 kB / 3.179 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08482/7.986, allocations: 29.09 MB / 3.207 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/7.986, allocations: 282.6 kB / 3.208 GB, free: 214.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_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: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_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: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_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