Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.668/2.668, allocations: 287.3 MB / 302.3 MB, free: 8.344 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.001489/0.001489, allocations: 183.2 kB / 370.8 MB, free: 10.88 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.175/2.175, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001113, allocations: 86.44 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000502/0.0005019, allocations: 12.11 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2273, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.259/7.486, allocations: 2.071 GB / 3.05 GB, free: 206.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003506/7.487, allocations: 103.4 kB / 3.05 GB, free: 206.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2078/7.695, allocations: 57.59 MB / 3.106 GB, free: 158 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.244e-06/7.695, allocations: 4 kB / 3.106 GB, free: 158 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.63e-05/7.695, allocations: 23.94 kB / 3.106 GB, free: 157.9 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.002593/7.698, allocations: 1.134 MB / 3.107 GB, free: 156.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/7.698, allocations: 11.97 kB / 3.107 GB, free: 156.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002248/7.698, allocations: 131.3 kB / 3.107 GB, free: 156.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/7.699, allocations: 174.7 kB / 3.108 GB, free: 156.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/7.7, allocations: 0.6052 MB / 3.108 GB, free: 156 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/7.7, allocations: 57.88 kB / 3.108 GB, free: 156 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/7.701, allocations: 70.38 kB / 3.108 GB, free: 155.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/7.703, allocations: 0.8222 MB / 3.109 GB, free: 155.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/7.703, allocations: 0 / 3.109 GB, free: 155.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/7.703, allocations: 39.94 kB / 3.109 GB, free: 155.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/7.703, allocations: 23.95 kB / 3.109 GB, free: 155.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/7.705, allocations: 1.046 MB / 3.11 GB, free: 154.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005144/7.71, allocations: 2.324 MB / 3.112 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/7.712, allocations: 0.7855 MB / 3.113 GB, free: 150.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/7.712, allocations: 32.58 kB / 3.113 GB, free: 150.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009848/7.713, allocations: 417.7 kB / 3.114 GB, free: 150.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.587e-06/7.713, allocations: 0 / 3.114 GB, free: 150.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.004532/7.718, allocations: 1.068 MB / 3.115 GB, free: 149.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.386e-05/7.718, allocations: 243.8 kB / 3.115 GB, free: 149.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/7.719, allocations: 0.5609 MB / 3.115 GB, free: 148.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/7.719, allocations: 45.69 kB / 3.115 GB, free: 148.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/7.72, allocations: 352.4 kB / 3.116 GB, free: 148.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/7.72, allocations: 236.6 kB / 3.116 GB, free: 147.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.265e-05/7.72, allocations: 8 kB / 3.116 GB, free: 147.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001213/7.72, allocations: 378.8 kB / 3.116 GB, free: 147.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006596/7.721, allocations: 213.2 kB / 3.117 GB, free: 147.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007573/7.722, allocations: 319.6 kB / 3.117 GB, free: 147 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007432/7.722, allocations: 255.1 kB / 3.117 GB, free: 146.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/7.722, allocations: 7.938 kB / 3.117 GB, free: 146.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002578/7.725, allocations: 0.7002 MB / 3.118 GB, free: 146 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/7.725, allocations: 8 kB / 3.118 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/7.725, allocations: 4.062 kB / 3.118 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009745/7.726, allocations: 88.7 kB / 3.118 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009903/7.727, allocations: 135.8 kB / 3.118 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/7.73, allocations: 1.52 MB / 3.12 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/7.731, allocations: 79.5 kB / 3.12 GB, free: 144 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.032e-05/7.731, allocations: 27.98 kB / 3.12 GB, free: 144 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 () * 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.0006049/7.731, allocations: 242.8 kB / 3.12 GB, free: 143.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/7.731, allocations: 75.06 kB / 3.12 GB, free: 143.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003334/7.735, allocations: 0.986 MB / 3.121 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/7.735, allocations: 8 kB / 3.121 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/7.735, allocations: 0 / 3.121 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/7.735, allocations: 3.984 kB / 3.121 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004422/7.739, allocations: 1.849 MB / 3.123 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/7.739, allocations: 0 / 3.123 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/7.74, allocations: 139.8 kB / 3.123 GB, free: 140.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008269/7.741, allocations: 80.78 kB / 3.123 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.778e-05/7.741, allocations: 23.98 kB / 3.123 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002336/7.744, allocations: 1.56 MB / 3.124 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/7.744, allocations: 3.938 kB / 3.124 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002799/7.747, allocations: 0.8946 MB / 3.125 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005/7.747, allocations: 271.8 kB / 3.126 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/7.747, allocations: 20 kB / 3.126 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009834/7.748, allocations: 67.94 kB / 3.126 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/7.748, allocations: 56.92 kB / 3.126 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.24e-05/7.749, allocations: 35.98 kB / 3.126 GB, free: 137.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007744/7.749, allocations: 467 kB / 3.126 GB, free: 137 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/7.749, allocations: 0 / 3.126 GB, free: 137 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001274/7.751, allocations: 331.1 kB / 3.127 GB, free: 136.6 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) * 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.005016/7.756, allocations: 2.366 MB / 3.129 GB, free: 134.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002157/7.758, allocations: 0.7087 MB / 3.13 GB, free: 133.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/7.758, allocations: 0 / 3.13 GB, free: 133.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/7.759, allocations: 484.3 kB / 3.13 GB, free: 133.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/7.761, allocations: 231.9 kB / 3.13 GB, free: 133 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/7.773, allocations: 4.833 MB / 3.135 GB, free: 128.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/7.774, allocations: 0.9994 MB / 3.136 GB, free: 127.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00127/7.775, allocations: 253.8 kB / 3.136 GB, free: 126.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006367/7.776, allocations: 339.3 kB / 3.136 GB, free: 126.5 MB / 0.948 GB Notification: Performance of SimCode: time 8.82e-07/7.776, allocations: 0 / 3.136 GB, free: 126.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07144/7.847, allocations: 28.3 MB / 3.164 GB, free: 98.53 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/7.847, allocations: 281.1 kB / 3.164 GB, free: 98.18 MB / 0.948 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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.c:7: In file included from ./Buildings_8_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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c:2: In file included from ./Buildings_8_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_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_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_SolarHourAngle_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.o] Error 1