Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.885/1.885, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001967/0.001967, allocations: 193 kB / 377.1 MB, free: 1.504 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.116/2.116, allocations: 205.4 MB / 0.6366 GB, free: 8.582 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.001089/0.001089, allocations: 93.23 kB / 0.7509 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003908, allocations: 12 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.2999, allocations: 116.3 MB / 0.9884 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.256/6.556, allocations: 2.074 GB / 3.063 GB, free: 106.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003666/6.556, allocations: 102.9 kB / 3.063 GB, free: 106.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1431/6.7, allocations: 68.54 MB / 3.13 GB, free: 39.41 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.505e-06/6.7, allocations: 0.9375 kB / 3.13 GB, free: 39.41 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.81e-05/6.7, allocations: 31.94 kB / 3.13 GB, free: 39.38 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.002111/6.702, allocations: 1.239 MB / 3.131 GB, free: 38.07 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/6.702, allocations: 12.03 kB / 3.131 GB, free: 38.06 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00016/6.702, allocations: 147.8 kB / 3.131 GB, free: 37.91 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008188/6.703, allocations: 202.3 kB / 3.131 GB, free: 37.71 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009038/6.704, allocations: 0.6386 MB / 3.132 GB, free: 37.03 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.953e-05/6.704, allocations: 73.94 kB / 3.132 GB, free: 36.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.281e-05/6.704, allocations: 84 kB / 3.132 GB, free: 36.88 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/6.705, allocations: 0.9661 MB / 3.133 GB, free: 35.87 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/6.705, allocations: 0 / 3.133 GB, free: 35.87 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.519e-05/6.705, allocations: 40 kB / 3.133 GB, free: 35.83 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/6.705, allocations: 24 kB / 3.133 GB, free: 35.81 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/6.707, allocations: 1.159 MB / 3.134 GB, free: 34.65 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003452/6.71, allocations: 2.652 MB / 3.137 GB, free: 31.93 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/6.712, allocations: 0.7901 MB / 3.138 GB, free: 31.12 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.641e-05/6.712, allocations: 38.09 kB / 3.138 GB, free: 31.09 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00068/6.712, allocations: 459.2 kB / 3.138 GB, free: 30.62 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 1.763e-06/6.712, allocations: 0 / 3.138 GB, free: 30.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.002725/6.715, allocations: 1.175 MB / 3.139 GB, free: 29.42 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/6.715, allocations: 244 kB / 3.14 GB, free: 29.13 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006739/6.716, allocations: 0.6049 MB / 3.14 GB, free: 28.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/6.716, allocations: 45.7 kB / 3.14 GB, free: 28.47 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/6.716, allocations: 408.3 kB / 3.141 GB, free: 28.07 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/6.716, allocations: 268.1 kB / 3.141 GB, free: 27.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/6.716, allocations: 16 kB / 3.141 GB, free: 27.79 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001064/6.717, allocations: 378.8 kB / 3.141 GB, free: 27.41 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/6.717, allocations: 241.9 kB / 3.141 GB, free: 27.17 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/6.717, allocations: 363.3 kB / 3.142 GB, free: 26.78 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/6.718, allocations: 294.9 kB / 3.142 GB, free: 26.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/6.718, allocations: 1.219 kB / 3.142 GB, free: 26.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001584/6.719, allocations: 0.8018 MB / 3.143 GB, free: 25.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/6.719, allocations: 11.94 kB / 3.143 GB, free: 25.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/6.72, allocations: 0 / 3.143 GB, free: 25.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006394/6.72, allocations: 84.83 kB / 3.143 GB, free: 25.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000619/6.721, allocations: 163.8 kB / 3.143 GB, free: 25.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/6.723, allocations: 1.52 MB / 3.145 GB, free: 23.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005658/6.723, allocations: 91.97 kB / 3.145 GB, free: 23.67 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.642e-05/6.723, allocations: 27.98 kB / 3.145 GB, free: 23.64 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 (84): * Single equations (assignments): 83 * 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.0003819/6.724, allocations: 266.9 kB / 3.145 GB, free: 23.38 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/6.724, allocations: 79.06 kB / 3.145 GB, free: 23.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/6.726, allocations: 1.108 MB / 3.146 GB, free: 22.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/6.726, allocations: 12 kB / 3.146 GB, free: 22.15 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/6.726, allocations: 0 / 3.146 GB, free: 22.15 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/6.726, allocations: 8.688 kB / 3.146 GB, free: 22.14 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002842/6.729, allocations: 2.055 MB / 3.148 GB, free: 20.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/6.729, allocations: 0 / 3.148 GB, free: 20.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/6.729, allocations: 171.7 kB / 3.148 GB, free: 19.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004863/6.73, allocations: 84.77 kB / 3.148 GB, free: 19.78 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.046e-05/6.73, allocations: 23.98 kB / 3.148 GB, free: 19.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/6.731, allocations: 1.56 MB / 3.15 GB, free: 18.06 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/6.731, allocations: 0 / 3.15 GB, free: 18.06 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/6.733, allocations: 0.9773 MB / 3.151 GB, free: 17.06 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003474/6.733, allocations: 303.5 kB / 3.151 GB, free: 16.75 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.92e-05/6.733, allocations: 20 kB / 3.151 GB, free: 16.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005571/6.734, allocations: 63.95 kB / 3.151 GB, free: 16.66 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/6.734, allocations: 68.89 kB / 3.151 GB, free: 16.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.215e-05/6.734, allocations: 27.98 kB / 3.151 GB, free: 16.57 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005069/6.735, allocations: 0.499 MB / 3.152 GB, free: 16.08 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/6.735, allocations: 4 kB / 3.152 GB, free: 16.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00109/6.736, allocations: 379 kB / 3.152 GB, free: 15.7 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 (94): * Single equations (assignments): 91 * 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.003597/6.739, allocations: 2.47 MB / 3.155 GB, free: 13.33 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00145/6.741, allocations: 0.785 MB / 3.155 GB, free: 12.53 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/6.741, allocations: 0 / 3.155 GB, free: 12.53 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007486/6.742, allocations: 0.5197 MB / 3.156 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009753/6.743, allocations: 239.7 kB / 3.156 GB, free: 11.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008115/6.751, allocations: 5.364 MB / 3.161 GB, free: 6.332 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/6.751, allocations: 1.063 MB / 3.162 GB, free: 5.242 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000862/6.752, allocations: 266.5 kB / 3.163 GB, free: 4.977 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/6.753, allocations: 399.3 kB / 3.163 GB, free: 4.586 MB / 0.948 GB Notification: Performance of SimCode: time 1.362e-06/6.753, allocations: 0 / 3.163 GB, free: 4.586 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5723/7.325, allocations: 30.31 MB / 3.193 GB, free: 244.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/7.325, allocations: 284 kB / 3.193 GB, free: 243.9 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_WallSolarAzimuth.o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_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_WallSolarAzimuth_functions.o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_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_WallSolarAzimuth_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_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_WallSolarAzimuth_functions.o] Error 1