Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.272/4.272, allocations: 464.6 MB / 476.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.948e-05/4.952e-05, allocations: 5.094 kB / 0.5732 GB, free: 5.668 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2814, allocations: 107.2 MB / 0.6778 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.503/7.784, allocations: 2.193 GB / 2.87 GB, free: 257.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/7.785, allocations: 89.06 kB / 2.87 GB, free: 257.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.3201/8.105, allocations: 81.82 MB / 2.95 GB, free: 202.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.204e-06/8.105, allocations: 0 / 2.95 GB, free: 202.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001242/8.105, allocations: 35.94 kB / 2.95 GB, free: 202.4 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: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.003208/8.108, allocations: 1.295 MB / 2.952 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/8.108, allocations: 8.031 kB / 2.952 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003267/8.109, allocations: 180 kB / 2.952 GB, free: 201 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/8.11, allocations: 229.6 kB / 2.952 GB, free: 200.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/8.112, allocations: 0.7457 MB / 2.953 GB, free: 200.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/8.112, allocations: 120 kB / 2.953 GB, free: 200.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/8.112, allocations: 115.8 kB / 2.953 GB, free: 200 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002811/8.115, allocations: 1.177 MB / 2.954 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.262e-05/8.115, allocations: 3.938 kB / 2.954 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001871/8.115, allocations: 51 kB / 2.954 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/8.115, allocations: 28 kB / 2.954 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002921/8.118, allocations: 1.298 MB / 2.956 GB, free: 198.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00843/8.127, allocations: 3.358 MB / 2.959 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/8.129, allocations: 0.8506 MB / 2.96 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008007/8.13, allocations: 347.2 kB / 2.96 GB, free: 194.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/8.13, allocations: 48.69 kB / 2.96 GB, free: 194.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/8.131, allocations: 0.5075 MB / 2.961 GB, free: 193.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=93): time 3.627e-06/8.131, allocations: 0 / 2.961 GB, free: 193.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=93): time 0.003114/8.134, allocations: 0.8875 MB / 2.961 GB, free: 192.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.857e-05/8.134, allocations: 244.1 kB / 2.962 GB, free: 192.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/8.136, allocations: 0.6917 MB / 2.962 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001606/8.136, allocations: 45.7 kB / 2.962 GB, free: 191.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004771/8.136, allocations: 0.5038 MB / 2.963 GB, free: 191.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/8.137, allocations: 311.5 kB / 2.963 GB, free: 191 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.343e-05/8.137, allocations: 16 kB / 2.963 GB, free: 191 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.101e-05/8.137, allocations: 334 kB / 2.963 GB, free: 190.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007662/8.138, allocations: 293.9 kB / 2.964 GB, free: 190.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008528/8.138, allocations: 406.4 kB / 2.964 GB, free: 189.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008956/8.139, allocations: 352.8 kB / 2.964 GB, free: 189.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/8.139, allocations: 0 / 2.964 GB, free: 189.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003087/8.143, allocations: 0.9268 MB / 2.965 GB, free: 188.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/8.143, allocations: 7.953 kB / 2.965 GB, free: 188.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/8.143, allocations: 4 kB / 2.965 GB, free: 188.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009829/8.144, allocations: 84.83 kB / 2.965 GB, free: 188.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/8.145, allocations: 191.7 kB / 2.966 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/8.148, allocations: 1.532 MB / 2.967 GB, free: 186.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/8.149, allocations: 99.23 kB / 2.967 GB, free: 186.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/8.15, allocations: 39.97 kB / 2.967 GB, free: 186.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0003273/8.15, allocations: 154.2 kB / 2.967 GB, free: 186.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/8.15, allocations: 98.73 kB / 2.967 GB, free: 186.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004296/8.154, allocations: 1.259 MB / 2.969 GB, free: 185 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/8.154, allocations: 12 kB / 2.969 GB, free: 185 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/8.154, allocations: 0 / 2.969 GB, free: 185 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/8.154, allocations: 3.984 kB / 2.969 GB, free: 185 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00568/8.16, allocations: 2.419 MB / 2.971 GB, free: 182.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/8.16, allocations: 0 / 2.971 GB, free: 182.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/8.162, allocations: 187.7 kB / 2.971 GB, free: 182.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008362/8.163, allocations: 80.78 kB / 2.971 GB, free: 182.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-05/8.163, allocations: 31.97 kB / 2.971 GB, free: 182.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/8.165, allocations: 1.548 MB / 2.973 GB, free: 180.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/8.165, allocations: 0 / 2.973 GB, free: 180.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/8.168, allocations: 1.07 MB / 2.974 GB, free: 179.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007239/8.169, allocations: 355.3 kB / 2.974 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/8.169, allocations: 16 kB / 2.974 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/8.171, allocations: 79.94 kB / 2.974 GB, free: 179 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/8.171, allocations: 76.83 kB / 2.974 GB, free: 178.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/8.171, allocations: 39.97 kB / 2.974 GB, free: 178.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001071/8.172, allocations: 0.5694 MB / 2.975 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.4e-07/8.172, allocations: 0 / 2.975 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001741/8.174, allocations: 418.9 kB / 2.975 GB, free: 177.9 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * 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.005594/8.179, allocations: 2.54 MB / 2.978 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002588/8.182, allocations: 0.8658 MB / 2.979 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/8.182, allocations: 0 / 2.979 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001283/8.183, allocations: 0.5443 MB / 2.979 GB, free: 174 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/8.185, allocations: 265 kB / 2.98 GB, free: 173.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007188/8.193, allocations: 1.951 MB / 2.981 GB, free: 171.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007504/8.194, allocations: 1.142 MB / 2.983 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001634/8.195, allocations: 311.5 kB / 2.983 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009919/8.196, allocations: 495.2 kB / 2.983 GB, free: 169.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.493e-06/8.196, allocations: 0 / 2.983 GB, free: 169.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09613/8.292, allocations: 35.54 MB / 3.018 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003423/8.293, allocations: 251.2 kB / 3.018 GB, free: 134.2 MB / 0.8855 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.o Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_functions.o Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_functions.c:2: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_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_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources/getTimeSpan.h:11:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_functions.o' failed make: *** [Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_functions.o] Error 1