Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.242/2.242, 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.002354/0.002354, allocations: 183.8 kB / 325.5 MB, free: 2.906 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.346/2.346, allocations: 205.4 MB / 0.5764 GB, free: 20.83 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.001116/0.001115, allocations: 99.22 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005403/0.0005402, allocations: 12.16 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2236, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.279/7.503, allocations: 2.189 GB / 3.088 GB, free: 247.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000416/7.503, allocations: 100.1 kB / 3.088 GB, free: 247.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2232/7.726, allocations: 57.24 MB / 3.144 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.836e-06/7.726, allocations: 0 / 3.144 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.836e-05/7.726, allocations: 23.62 kB / 3.144 GB, free: 242.7 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.002898/7.729, allocations: 1.14 MB / 3.145 GB, free: 242 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/7.729, allocations: 7.656 kB / 3.145 GB, free: 242 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002755/7.73, allocations: 123.3 kB / 3.146 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/7.731, allocations: 184.2 kB / 3.146 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/7.733, allocations: 0.5995 MB / 3.146 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.757e-05/7.733, allocations: 54.16 kB / 3.146 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/7.733, allocations: 75.81 kB / 3.146 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/7.735, allocations: 0.8183 MB / 3.147 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/7.735, allocations: 11.75 kB / 3.147 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/7.735, allocations: 36.92 kB / 3.147 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/7.735, allocations: 19.62 kB / 3.147 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/7.738, allocations: 1.052 MB / 3.148 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005387/7.743, allocations: 2.322 MB / 3.151 GB, free: 240.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/7.745, allocations: 0.7917 MB / 3.151 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/7.745, allocations: 34.86 kB / 3.151 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/7.746, allocations: 414.2 kB / 3.152 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 3.256e-06/7.746, allocations: 0 / 3.152 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.004704/7.751, allocations: 1.078 MB / 3.153 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.806e-05/7.751, allocations: 239.7 kB / 3.153 GB, free: 239.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/7.752, allocations: 0.5603 MB / 3.154 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002118/7.753, allocations: 40.2 kB / 3.154 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/7.753, allocations: 355.5 kB / 3.154 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/7.753, allocations: 226.3 kB / 3.154 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/7.753, allocations: 14.56 kB / 3.154 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001418/7.753, allocations: 382.5 kB / 3.155 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007203/7.754, allocations: 205.7 kB / 3.155 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007996/7.755, allocations: 317.9 kB / 3.155 GB, free: 239 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007966/7.756, allocations: 260.8 kB / 3.155 GB, free: 239 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/7.756, allocations: 4 kB / 3.155 GB, free: 239 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00284/7.759, allocations: 0.6957 MB / 3.156 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/7.759, allocations: 11.77 kB / 3.156 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/7.759, allocations: 0 / 3.156 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009787/7.76, allocations: 82.08 kB / 3.156 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/7.761, allocations: 139 kB / 3.156 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/7.764, allocations: 1.529 MB / 3.158 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/7.765, allocations: 76.19 kB / 3.158 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.442e-05/7.765, allocations: 26.67 kB / 3.158 GB, free: 237.5 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 (72): * Single equations (assignments): 71 * 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.0007339/7.766, allocations: 258.9 kB / 3.158 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/7.766, allocations: 74.27 kB / 3.158 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003398/7.769, allocations: 0.9695 MB / 3.159 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/7.769, allocations: 11.81 kB / 3.159 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/7.769, allocations: 0 / 3.159 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/7.769, allocations: 3.891 kB / 3.159 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004808/7.774, allocations: 1.854 MB / 3.161 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/7.774, allocations: 0 / 3.161 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/7.775, allocations: 136.1 kB / 3.161 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008373/7.776, allocations: 88.73 kB / 3.161 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.607e-05/7.776, allocations: 26.14 kB / 3.161 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/7.779, allocations: 1.556 MB / 3.163 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/7.779, allocations: 0 / 3.163 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/7.781, allocations: 0.8921 MB / 3.164 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005412/7.782, allocations: 273.8 kB / 3.164 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/7.782, allocations: 14.56 kB / 3.164 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009731/7.783, allocations: 68.28 kB / 3.164 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/7.783, allocations: 61.03 kB / 3.164 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.194e-05/7.783, allocations: 30.31 kB / 3.164 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008232/7.784, allocations: 462.5 kB / 3.164 GB, free: 235 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.6e-07/7.784, allocations: 4 kB / 3.164 GB, free: 235 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001426/7.786, allocations: 327 kB / 3.165 GB, free: 234.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.005202/7.791, allocations: 2.359 MB / 3.167 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002254/7.793, allocations: 0.7068 MB / 3.168 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/7.793, allocations: 3.906 kB / 3.168 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001234/7.795, allocations: 476.3 kB / 3.168 GB, free: 233.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/7.796, allocations: 234.5 kB / 3.168 GB, free: 233.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/7.809, allocations: 4.831 MB / 3.173 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005651/7.81, allocations: 1.006 MB / 3.174 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001434/7.811, allocations: 250.6 kB / 3.174 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00069/7.812, allocations: 331 kB / 3.175 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.313e-06/7.812, allocations: 0 / 3.175 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08054/7.893, allocations: 28.31 MB / 3.202 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/7.893, allocations: 284.9 kB / 3.203 GB, free: 216.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_SolarHourAngle.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_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_SolarHourAngle_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_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_SolarHourAngle_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_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_SolarHourAngle_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.o] Error 1