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.67/1.67, allocations: 289.7 MB / 302.2 MB, free: 2.188 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.00103/0.00103, allocations: 178.2 kB / 371.6 MB, free: 3.34 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.832/1.832, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.001162/0.001162, allocations: 90.38 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.953e-05/5.965e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3576, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.498/6.856, allocations: 2.074 GB / 3.054 GB, free: 121.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/6.856, allocations: 96.97 kB / 3.054 GB, free: 121.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1411/6.997, allocations: 68.24 MB / 3.121 GB, free: 61.15 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.653e-06/6.997, allocations: 0 / 3.121 GB, free: 61.15 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.332e-05/6.998, allocations: 24 kB / 3.121 GB, free: 61.12 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.001713/6.999, allocations: 1.125 MB / 3.122 GB, free: 59.95 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/6.999, allocations: 12.03 kB / 3.122 GB, free: 59.93 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/6.999, allocations: 145.2 kB / 3.122 GB, free: 59.79 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000799/7, allocations: 198.4 kB / 3.122 GB, free: 59.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009245/7.001, allocations: 0.6425 MB / 3.123 GB, free: 58.91 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/7.001, allocations: 66 kB / 3.123 GB, free: 58.84 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.64e-05/7.001, allocations: 88 kB / 3.123 GB, free: 58.76 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/7.003, allocations: 0.9303 MB / 3.124 GB, free: 57.79 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/7.003, allocations: 0 / 3.124 GB, free: 57.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.809e-05/7.003, allocations: 36 kB / 3.124 GB, free: 57.75 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/7.003, allocations: 24 kB / 3.124 GB, free: 57.73 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/7.004, allocations: 1.112 MB / 3.125 GB, free: 56.61 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/7.008, allocations: 2.649 MB / 3.128 GB, free: 53.89 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/7.009, allocations: 0.7486 MB / 3.129 GB, free: 53.14 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/7.009, allocations: 287.8 kB / 3.129 GB, free: 52.86 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-05/7.009, allocations: 36.72 kB / 3.129 GB, free: 52.82 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000574/7.01, allocations: 441.3 kB / 3.129 GB, free: 52.37 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 2.856e-06/7.01, allocations: 0 / 3.129 GB, free: 52.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.001536/7.011, allocations: 0.7421 MB / 3.13 GB, free: 51.62 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/7.011, allocations: 240.1 kB / 3.13 GB, free: 51.33 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006441/7.012, allocations: 0.6012 MB / 3.131 GB, free: 50.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.473e-05/7.012, allocations: 46.27 kB / 3.131 GB, free: 50.68 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/7.012, allocations: 412.2 kB / 3.131 GB, free: 50.27 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/7.012, allocations: 264.2 kB / 3.132 GB, free: 50 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/7.012, allocations: 16 kB / 3.132 GB, free: 49.99 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/7.013, allocations: 378.8 kB / 3.132 GB, free: 49.61 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/7.013, allocations: 217.5 kB / 3.132 GB, free: 49.39 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000414/7.013, allocations: 342.1 kB / 3.132 GB, free: 49.03 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/7.014, allocations: 266 kB / 3.133 GB, free: 48.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/7.014, allocations: 0 / 3.133 GB, free: 48.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001393/7.015, allocations: 0.7616 MB / 3.133 GB, free: 48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/7.015, allocations: 4 kB / 3.133 GB, free: 48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/7.015, allocations: 0 / 3.133 GB, free: 48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005573/7.016, allocations: 84.84 kB / 3.134 GB, free: 47.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005955/7.016, allocations: 155.8 kB / 3.134 GB, free: 47.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/7.018, allocations: 1.522 MB / 3.135 GB, free: 46.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000551/7.018, allocations: 83.45 kB / 3.135 GB, free: 46.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/7.019, allocations: 31.98 kB / 3.135 GB, free: 45.98 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 (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.0001473/7.019, allocations: 144.8 kB / 3.135 GB, free: 45.83 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/7.019, allocations: 82.97 kB / 3.135 GB, free: 45.75 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00198/7.021, allocations: 1.064 MB / 3.137 GB, free: 44.67 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/7.021, allocations: 8.75 kB / 3.137 GB, free: 44.66 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/7.021, allocations: 4 kB / 3.137 GB, free: 44.66 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/7.021, allocations: 7.938 kB / 3.137 GB, free: 44.65 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/7.023, allocations: 1.991 MB / 3.139 GB, free: 42.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/7.023, allocations: 7.938 kB / 3.139 GB, free: 42.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005783/7.024, allocations: 171.7 kB / 3.139 GB, free: 42.42 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004605/7.025, allocations: 80.78 kB / 3.139 GB, free: 42.34 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/7.025, allocations: 23.98 kB / 3.139 GB, free: 42.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/7.026, allocations: 1.541 MB / 3.14 GB, free: 40.64 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/7.026, allocations: 0 / 3.14 GB, free: 40.64 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/7.027, allocations: 0.9352 MB / 3.141 GB, free: 39.68 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003715/7.028, allocations: 299.6 kB / 3.141 GB, free: 39.37 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/7.028, allocations: 20 kB / 3.141 GB, free: 39.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005558/7.029, allocations: 67.95 kB / 3.142 GB, free: 39.28 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/7.029, allocations: 64.69 kB / 3.142 GB, free: 39.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.713e-05/7.029, allocations: 35.92 kB / 3.142 GB, free: 39.18 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005507/7.029, allocations: 499.1 kB / 3.142 GB, free: 38.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/7.029, allocations: 0 / 3.142 GB, free: 38.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001095/7.03, allocations: 375 kB / 3.142 GB, free: 38.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) * 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.003445/7.034, allocations: 2.397 MB / 3.145 GB, free: 36.02 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001343/7.035, allocations: 0.737 MB / 3.146 GB, free: 35.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/7.035, allocations: 0 / 3.146 GB, free: 35.27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007467/7.036, allocations: 0.499 MB / 3.146 GB, free: 34.76 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/7.037, allocations: 243 kB / 3.146 GB, free: 34.53 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/7.041, allocations: 1.666 MB / 3.148 GB, free: 32.82 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/7.042, allocations: 1.055 MB / 3.149 GB, free: 31.73 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008932/7.043, allocations: 270.5 kB / 3.149 GB, free: 31.46 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005555/7.043, allocations: 399.3 kB / 3.15 GB, free: 31.07 MB / 0.948 GB Notification: Performance of SimCode: time 1.323e-06/7.043, allocations: 3.938 kB / 3.15 GB, free: 31.07 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6703/7.714, allocations: 32.07 MB / 3.181 GB, free: 245.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/7.714, allocations: 248.8 kB / 3.181 GB, free: 245.4 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_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: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_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: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_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