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.803/1.803, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001191/0.001191, allocations: 182.8 kB / 371.6 MB, free: 3.367 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.974/1.974, allocations: 205.2 MB / 0.6309 GB, free: 11.78 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.001086/0.001086, allocations: 89.78 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.95e-05/3.953e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3118, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.181/6.493, allocations: 2.073 GB / 3.053 GB, free: 122.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/6.494, allocations: 93.25 kB / 3.053 GB, free: 122.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.123/6.617, allocations: 57.99 MB / 3.109 GB, free: 72.55 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.445e-06/6.617, allocations: 4 kB / 3.109 GB, free: 72.55 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.295e-05/6.617, allocations: 24 kB / 3.109 GB, free: 72.52 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.00169/6.618, allocations: 1.038 MB / 3.11 GB, free: 71.44 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/6.619, allocations: 12.03 kB / 3.11 GB, free: 71.43 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/6.619, allocations: 126.9 kB / 3.11 GB, free: 71.29 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008204/6.619, allocations: 186.5 kB / 3.111 GB, free: 71.11 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008563/6.62, allocations: 0.5997 MB / 3.111 GB, free: 70.47 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.519e-05/6.62, allocations: 58 kB / 3.111 GB, free: 70.41 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.813e-05/6.621, allocations: 76 kB / 3.111 GB, free: 70.34 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/6.622, allocations: 0.8287 MB / 3.112 GB, free: 69.47 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/6.622, allocations: 0 / 3.112 GB, free: 69.47 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-05/6.622, allocations: 32.75 kB / 3.112 GB, free: 69.44 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/6.622, allocations: 20 kB / 3.112 GB, free: 69.42 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/6.623, allocations: 1.019 MB / 3.113 GB, free: 68.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003079/6.626, allocations: 2.384 MB / 3.116 GB, free: 65.95 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009924/6.627, allocations: 0.7633 MB / 3.116 GB, free: 65.16 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/6.627, allocations: 267.1 kB / 3.117 GB, free: 64.89 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.993e-05/6.628, allocations: 33.75 kB / 3.117 GB, free: 64.86 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005863/6.628, allocations: 405.4 kB / 3.117 GB, free: 64.45 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.625e-06/6.628, allocations: 0 / 3.117 GB, free: 64.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001478/6.63, allocations: 0.6964 MB / 3.118 GB, free: 63.74 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.866e-05/6.63, allocations: 244.1 kB / 3.118 GB, free: 63.45 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/6.63, allocations: 0.562 MB / 3.118 GB, free: 62.89 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/6.63, allocations: 37.7 kB / 3.118 GB, free: 62.84 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/6.631, allocations: 368.4 kB / 3.119 GB, free: 62.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/6.631, allocations: 248.3 kB / 3.119 GB, free: 62.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/6.631, allocations: 16.94 kB / 3.119 GB, free: 62.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001061/6.631, allocations: 374.8 kB / 3.119 GB, free: 61.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/6.631, allocations: 197.5 kB / 3.12 GB, free: 61.65 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/6.632, allocations: 305.1 kB / 3.12 GB, free: 61.32 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/6.632, allocations: 250 kB / 3.12 GB, free: 61.07 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/6.632, allocations: 0 / 3.12 GB, free: 61.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001333/6.633, allocations: 0.6837 MB / 3.121 GB, free: 60.38 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/6.633, allocations: 7.953 kB / 3.121 GB, free: 60.37 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/6.633, allocations: 0 / 3.121 GB, free: 60.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005747/6.634, allocations: 81.88 kB / 3.121 GB, free: 60.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000546/6.635, allocations: 139.8 kB / 3.121 GB, free: 60.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/6.636, allocations: 1.521 MB / 3.122 GB, free: 58.49 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005529/6.637, allocations: 79.38 kB / 3.123 GB, free: 58.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.011e-05/6.637, allocations: 27.98 kB / 3.123 GB, free: 58.38 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 () * 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.0001609/6.637, allocations: 145.9 kB / 3.123 GB, free: 58.23 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/6.637, allocations: 79.02 kB / 3.123 GB, free: 58.16 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/6.639, allocations: 0.977 MB / 3.124 GB, free: 57.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/6.639, allocations: 11.94 kB / 3.124 GB, free: 57.15 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/6.639, allocations: 0 / 3.124 GB, free: 57.15 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/6.639, allocations: 3.984 kB / 3.124 GB, free: 57.14 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002638/6.642, allocations: 1.866 MB / 3.126 GB, free: 55.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/6.642, allocations: 0 / 3.126 GB, free: 55.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005139/6.642, allocations: 151.8 kB / 3.126 GB, free: 55.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004596/6.643, allocations: 88.73 kB / 3.126 GB, free: 54.98 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.791e-05/6.643, allocations: 24.73 kB / 3.126 GB, free: 54.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/6.644, allocations: 1.536 MB / 3.127 GB, free: 53.29 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/6.644, allocations: 4.062 kB / 3.127 GB, free: 53.29 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/6.646, allocations: 0.8767 MB / 3.128 GB, free: 52.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003559/6.646, allocations: 279.7 kB / 3.128 GB, free: 52.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.343e-05/6.646, allocations: 16 kB / 3.128 GB, free: 52.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/6.647, allocations: 71.94 kB / 3.129 GB, free: 52.01 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/6.647, allocations: 60.62 kB / 3.129 GB, free: 51.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.652e-05/6.647, allocations: 32.55 kB / 3.129 GB, free: 51.92 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005111/6.648, allocations: 467.2 kB / 3.129 GB, free: 51.46 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.1e-07/6.648, allocations: 0 / 3.129 GB, free: 51.46 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001025/6.649, allocations: 331.2 kB / 3.129 GB, free: 51.14 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) * 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.003223/6.652, allocations: 2.301 MB / 3.132 GB, free: 48.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001203/6.653, allocations: 0.6864 MB / 3.132 GB, free: 48.23 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/6.653, allocations: 4 kB / 3.132 GB, free: 48.22 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006335/6.654, allocations: 474.8 kB / 3.133 GB, free: 47.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/6.655, allocations: 246 kB / 3.133 GB, free: 47.51 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004073/6.659, allocations: 1.532 MB / 3.135 GB, free: 45.94 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/6.66, allocations: 1.019 MB / 3.136 GB, free: 44.88 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000871/6.66, allocations: 258.1 kB / 3.136 GB, free: 44.63 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000474/6.661, allocations: 351.3 kB / 3.136 GB, free: 44.29 MB / 0.948 GB Notification: Performance of SimCode: time 2.023e-06/6.661, allocations: 0 / 3.136 GB, free: 44.29 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04937/6.71, allocations: 30.48 MB / 3.166 GB, free: 14.04 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/6.711, allocations: 249.9 kB / 3.166 GB, free: 13.71 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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: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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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: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_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