Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 292.6 MB / 307.5 MB, free: 5.223 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.001153/0.001153, allocations: 185 kB / 377.1 MB, free: 1.539 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.054/2.054, allocations: 205.4 MB / 0.6366 GB, free: 8.574 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.001062/0.001062, allocations: 93.81 kB / 0.7509 GB, free: 62.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.000342, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2877, allocations: 116.3 MB / 0.9884 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.24/6.528, allocations: 2.073 GB / 3.061 GB, free: 109.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004344/6.529, allocations: 101 kB / 3.061 GB, free: 109 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.128/6.657, allocations: 57.61 MB / 3.117 GB, free: 52.62 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.206e-06/6.657, allocations: 0.6562 kB / 3.117 GB, free: 52.62 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001106/6.657, allocations: 20 kB / 3.117 GB, free: 52.61 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.002931/6.66, allocations: 1.141 MB / 3.118 GB, free: 51.41 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/6.66, allocations: 8.031 kB / 3.118 GB, free: 51.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003394/6.66, allocations: 130.6 kB / 3.119 GB, free: 51.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/6.661, allocations: 178.6 kB / 3.119 GB, free: 51.09 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/6.663, allocations: 0.6036 MB / 3.119 GB, free: 50.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.011e-05/6.663, allocations: 61 kB / 3.119 GB, free: 50.39 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/6.663, allocations: 72 kB / 3.119 GB, free: 50.32 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/6.664, allocations: 0.8169 MB / 3.12 GB, free: 49.46 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/6.664, allocations: 4 kB / 3.12 GB, free: 49.46 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-05/6.664, allocations: 40 kB / 3.12 GB, free: 49.42 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/6.664, allocations: 16 kB / 3.12 GB, free: 49.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/6.666, allocations: 1.05 MB / 3.121 GB, free: 48.35 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003835/6.67, allocations: 2.333 MB / 3.124 GB, free: 45.95 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/6.671, allocations: 0.7855 MB / 3.124 GB, free: 45.13 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.835e-05/6.671, allocations: 32.58 kB / 3.124 GB, free: 45.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006926/6.672, allocations: 409.8 kB / 3.125 GB, free: 44.68 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.196e-06/6.672, allocations: 0 / 3.125 GB, free: 44.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.002917/6.675, allocations: 1.071 MB / 3.126 GB, free: 43.59 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.821e-05/6.675, allocations: 239.9 kB / 3.126 GB, free: 43.29 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007408/6.676, allocations: 0.5609 MB / 3.127 GB, free: 42.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.281e-05/6.676, allocations: 41.7 kB / 3.127 GB, free: 42.68 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/6.676, allocations: 352.4 kB / 3.127 GB, free: 42.33 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/6.676, allocations: 236.6 kB / 3.127 GB, free: 42.09 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/6.676, allocations: 12 kB / 3.127 GB, free: 42.08 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001191/6.677, allocations: 386.7 kB / 3.128 GB, free: 41.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/6.677, allocations: 201.2 kB / 3.128 GB, free: 41.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/6.677, allocations: 327.6 kB / 3.128 GB, free: 41.15 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004502/6.678, allocations: 259.1 kB / 3.128 GB, free: 40.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/6.678, allocations: 0 / 3.128 GB, free: 40.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001606/6.679, allocations: 0.7041 MB / 3.129 GB, free: 40.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/6.68, allocations: 4 kB / 3.129 GB, free: 40.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/6.68, allocations: 0 / 3.129 GB, free: 40.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006516/6.68, allocations: 92.77 kB / 3.129 GB, free: 40.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/6.681, allocations: 127.8 kB / 3.129 GB, free: 39.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/6.683, allocations: 1.536 MB / 3.131 GB, free: 38.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006286/6.683, allocations: 75.47 kB / 3.131 GB, free: 38.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-05/6.683, allocations: 27.98 kB / 3.131 GB, free: 38.18 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.0005178/6.684, allocations: 242.3 kB / 3.131 GB, free: 37.93 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/6.684, allocations: 79.05 kB / 3.131 GB, free: 37.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/6.686, allocations: 0.9781 MB / 3.132 GB, free: 36.86 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/6.686, allocations: 8 kB / 3.132 GB, free: 36.86 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/6.686, allocations: 0 / 3.132 GB, free: 36.86 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/6.686, allocations: 3.984 kB / 3.132 GB, free: 36.85 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/6.689, allocations: 1.861 MB / 3.134 GB, free: 34.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/6.689, allocations: 0 / 3.134 GB, free: 34.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005137/6.69, allocations: 135.8 kB / 3.134 GB, free: 34.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005173/6.69, allocations: 84.78 kB / 3.134 GB, free: 34.71 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.717e-05/6.69, allocations: 19.98 kB / 3.134 GB, free: 34.69 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/6.692, allocations: 1.559 MB / 3.136 GB, free: 33 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/6.692, allocations: 0 / 3.136 GB, free: 33 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/6.693, allocations: 0.8869 MB / 3.137 GB, free: 32.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003743/6.694, allocations: 279.8 kB / 3.137 GB, free: 31.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.306e-05/6.694, allocations: 16 kB / 3.137 GB, free: 31.78 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005649/6.694, allocations: 67.94 kB / 3.137 GB, free: 31.71 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/6.695, allocations: 53.2 kB / 3.137 GB, free: 31.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.325e-05/6.695, allocations: 31.98 kB / 3.137 GB, free: 31.63 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004972/6.695, allocations: 471 kB / 3.137 GB, free: 31.17 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.695, allocations: 0 / 3.137 GB, free: 31.17 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001092/6.696, allocations: 339 kB / 3.138 GB, free: 30.84 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.003705/6.7, allocations: 2.357 MB / 3.14 GB, free: 28.58 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001352/6.701, allocations: 0.7088 MB / 3.141 GB, free: 27.86 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/6.701, allocations: 4 kB / 3.141 GB, free: 27.86 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007329/6.702, allocations: 480.2 kB / 3.141 GB, free: 27.38 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/6.703, allocations: 230.4 kB / 3.141 GB, free: 27.15 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00801/6.711, allocations: 4.833 MB / 3.146 GB, free: 22.26 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/6.712, allocations: 0.9994 MB / 3.147 GB, free: 21.23 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008472/6.712, allocations: 257.8 kB / 3.147 GB, free: 20.98 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004309/6.713, allocations: 339.3 kB / 3.148 GB, free: 20.65 MB / 0.948 GB Notification: Performance of SimCode: time 8.61e-07/6.713, allocations: 0 / 3.148 GB, free: 20.65 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5684/7.281, allocations: 28.28 MB / 3.175 GB, free: 248.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/7.282, allocations: 283.8 kB / 3.176 GB, free: 248.4 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_SolarHourAngle.o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.c:7: In file included from ./Buildings_8_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 -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_SolarHourAngle_functions.o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c:2: In file included from ./Buildings_8_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_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_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_SolarHourAngle_functions.o] Error 1