Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.744/1.744, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001197/0.001197, allocations: 179.4 kB / 377.1 MB, free: 1.516 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.751/1.751, allocations: 205.4 MB / 0.6366 GB, free: 8.621 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.0008367/0.0008366, allocations: 93.48 kB / 0.7509 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003762, allocations: 12 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3028, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.921/6.224, allocations: 2.073 GB / 3.061 GB, free: 108.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004407/6.225, allocations: 99.19 kB / 3.061 GB, free: 108.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1301/6.355, allocations: 58.3 MB / 3.118 GB, free: 51.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.155e-06/6.355, allocations: 0 / 3.118 GB, free: 51.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001034/6.355, allocations: 27.94 kB / 3.118 GB, free: 51.57 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00279/6.358, allocations: 1.156 MB / 3.119 GB, free: 50.36 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/6.358, allocations: 12.03 kB / 3.119 GB, free: 50.35 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003226/6.358, allocations: 128 kB / 3.119 GB, free: 50.21 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/6.359, allocations: 186.5 kB / 3.12 GB, free: 50.03 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/6.36, allocations: 0.6075 MB / 3.12 GB, free: 49.38 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/6.36, allocations: 58 kB / 3.12 GB, free: 49.33 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-05/6.361, allocations: 76 kB / 3.12 GB, free: 49.25 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/6.362, allocations: 0.8481 MB / 3.121 GB, free: 48.36 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/6.362, allocations: 0 / 3.121 GB, free: 48.36 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.082e-05/6.362, allocations: 36 kB / 3.121 GB, free: 48.33 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/6.362, allocations: 20 kB / 3.121 GB, free: 48.31 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/6.363, allocations: 1.073 MB / 3.122 GB, free: 47.23 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/6.366, allocations: 2.372 MB / 3.125 GB, free: 44.79 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/6.368, allocations: 0.8066 MB / 3.125 GB, free: 43.96 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-05/6.368, allocations: 44.61 kB / 3.125 GB, free: 43.92 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006012/6.368, allocations: 427.2 kB / 3.126 GB, free: 43.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.745e-06/6.368, allocations: 0 / 3.126 GB, free: 43.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.002555/6.371, allocations: 1.106 MB / 3.127 GB, free: 42.36 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/6.371, allocations: 248 kB / 3.127 GB, free: 42.05 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005968/6.372, allocations: 0.5619 MB / 3.128 GB, free: 41.49 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.352e-05/6.372, allocations: 37.7 kB / 3.128 GB, free: 41.45 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/6.372, allocations: 368.4 kB / 3.128 GB, free: 41.08 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/6.372, allocations: 248.4 kB / 3.128 GB, free: 40.84 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/6.372, allocations: 8 kB / 3.128 GB, free: 40.83 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.141e-05/6.372, allocations: 386.8 kB / 3.129 GB, free: 40.44 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/6.372, allocations: 214.8 kB / 3.129 GB, free: 40.23 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/6.373, allocations: 327.7 kB / 3.129 GB, free: 39.88 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004051/6.373, allocations: 263.1 kB / 3.129 GB, free: 39.62 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/6.373, allocations: 0 / 3.129 GB, free: 39.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001423/6.375, allocations: 0.7237 MB / 3.13 GB, free: 38.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/6.375, allocations: 11.95 kB / 3.13 GB, free: 38.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/6.375, allocations: 0 / 3.13 GB, free: 38.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005978/6.375, allocations: 84.83 kB / 3.13 GB, free: 38.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005404/6.376, allocations: 139.8 kB / 3.13 GB, free: 38.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/6.378, allocations: 1.528 MB / 3.132 GB, free: 36.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005226/6.378, allocations: 76.75 kB / 3.132 GB, free: 36.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/6.378, allocations: 31.97 kB / 3.132 GB, free: 36.88 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 (75): * Single equations (assignments): 74 * 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.0003601/6.379, allocations: 249.8 kB / 3.132 GB, free: 36.62 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/6.379, allocations: 79.02 kB / 3.132 GB, free: 36.54 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/6.381, allocations: 1.029 MB / 3.133 GB, free: 35.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/6.381, allocations: 8 kB / 3.133 GB, free: 35.49 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/6.381, allocations: 0 / 3.133 GB, free: 35.49 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.629e-06/6.381, allocations: 3.984 kB / 3.133 GB, free: 35.49 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/6.384, allocations: 1.919 MB / 3.135 GB, free: 33.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/6.384, allocations: 0 / 3.135 GB, free: 33.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005265/6.384, allocations: 147.8 kB / 3.135 GB, free: 33.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004964/6.385, allocations: 88.67 kB / 3.135 GB, free: 33.27 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.253e-05/6.385, allocations: 23.98 kB / 3.135 GB, free: 33.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/6.386, allocations: 1.564 MB / 3.137 GB, free: 31.55 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/6.386, allocations: 3.938 kB / 3.137 GB, free: 31.55 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/6.388, allocations: 0.922 MB / 3.138 GB, free: 30.61 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/6.388, allocations: 283.7 kB / 3.138 GB, free: 30.31 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/6.388, allocations: 16 kB / 3.138 GB, free: 30.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006401/6.389, allocations: 71.94 kB / 3.138 GB, free: 30.22 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/6.389, allocations: 56.91 kB / 3.138 GB, free: 30.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.533e-05/6.389, allocations: 31.98 kB / 3.138 GB, free: 30.13 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005376/6.39, allocations: 483 kB / 3.139 GB, free: 29.66 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/6.39, allocations: 0 / 3.139 GB, free: 29.66 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001063/6.391, allocations: 331.2 kB / 3.139 GB, free: 29.34 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 (87): * Single equations (assignments): 84 * 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.003747/6.395, allocations: 2.396 MB / 3.141 GB, free: 27.05 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001377/6.396, allocations: 0.7323 MB / 3.142 GB, free: 26.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/6.396, allocations: 0 / 3.142 GB, free: 26.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000762/6.397, allocations: 496.2 kB / 3.143 GB, free: 25.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/6.398, allocations: 238.4 kB / 3.143 GB, free: 25.57 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008604/6.407, allocations: 4.949 MB / 3.148 GB, free: 20.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/6.407, allocations: 1.015 MB / 3.149 GB, free: 19.53 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000879/6.408, allocations: 265.9 kB / 3.149 GB, free: 19.27 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004579/6.408, allocations: 347.3 kB / 3.149 GB, free: 18.93 MB / 0.948 GB Notification: Performance of SimCode: time 1.543e-06/6.408, allocations: 4 kB / 3.149 GB, free: 18.92 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5723/6.981, allocations: 28.72 MB / 3.177 GB, free: 249.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/6.981, allocations: 291.1 kB / 3.178 GB, free: 249.3 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_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 -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_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_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_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_AltitudeAngle_functions.o] Error 1