Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.754/1.754, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001131/0.00113, allocations: 180.1 kB / 377.1 MB, free: 1.551 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.802/1.802, allocations: 205.4 MB / 0.6366 GB, free: 8.586 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.001033/0.001033, allocations: 86.91 kB / 0.7509 GB, free: 63.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 11.98 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.299, allocations: 116.3 MB / 0.9884 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.822/6.121, allocations: 2.073 GB / 3.061 GB, free: 147.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/6.121, allocations: 97.17 kB / 3.061 GB, free: 147.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.13/6.251, allocations: 62.49 MB / 3.122 GB, free: 84.64 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.567e-06/6.251, allocations: 0 / 3.122 GB, free: 84.64 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.107e-05/6.251, allocations: 27.94 kB / 3.122 GB, free: 84.62 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.00215/6.253, allocations: 1.145 MB / 3.123 GB, free: 83.42 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/6.253, allocations: 12.02 kB / 3.123 GB, free: 83.41 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001525/6.254, allocations: 126.7 kB / 3.123 GB, free: 83.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008454/6.254, allocations: 186.5 kB / 3.124 GB, free: 83.09 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009229/6.255, allocations: 0.6036 MB / 3.124 GB, free: 82.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/6.255, allocations: 58 kB / 3.124 GB, free: 82.39 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.624e-05/6.256, allocations: 72 kB / 3.124 GB, free: 82.32 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/6.257, allocations: 0.8408 MB / 3.125 GB, free: 81.44 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/6.257, allocations: 4 kB / 3.125 GB, free: 81.43 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.129e-05/6.257, allocations: 32 kB / 3.125 GB, free: 81.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/6.257, allocations: 19.95 kB / 3.125 GB, free: 81.38 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/6.258, allocations: 1.057 MB / 3.126 GB, free: 80.32 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/6.261, allocations: 2.373 MB / 3.129 GB, free: 77.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/6.263, allocations: 0.7449 MB / 3.129 GB, free: 77.13 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.771e-05/6.263, allocations: 24.61 kB / 3.129 GB, free: 77.11 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006307/6.263, allocations: 433.7 kB / 3.13 GB, free: 76.66 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.575e-06/6.263, allocations: 3.938 kB / 3.13 GB, free: 76.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.002733/6.266, allocations: 1.099 MB / 3.131 GB, free: 75.54 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/6.266, allocations: 247.8 kB / 3.131 GB, free: 75.23 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006346/6.267, allocations: 0.5657 MB / 3.132 GB, free: 74.67 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/6.267, allocations: 41.7 kB / 3.132 GB, free: 74.62 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/6.267, allocations: 365.2 kB / 3.132 GB, free: 74.26 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/6.267, allocations: 228.7 kB / 3.132 GB, free: 74.03 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/6.267, allocations: 12 kB / 3.132 GB, free: 74.02 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001217/6.267, allocations: 378.8 kB / 3.133 GB, free: 73.64 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/6.268, allocations: 217.2 kB / 3.133 GB, free: 73.43 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004718/6.268, allocations: 331.6 kB / 3.133 GB, free: 73.07 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004829/6.269, allocations: 263.1 kB / 3.133 GB, free: 72.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/6.269, allocations: 0 / 3.133 GB, free: 72.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001561/6.27, allocations: 0.7237 MB / 3.134 GB, free: 72.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/6.27, allocations: 5.719 kB / 3.134 GB, free: 72.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/6.27, allocations: 7.953 kB / 3.134 GB, free: 72.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006613/6.271, allocations: 84.83 kB / 3.134 GB, free: 71.99 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/6.272, allocations: 131.8 kB / 3.134 GB, free: 71.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/6.274, allocations: 1.537 MB / 3.136 GB, free: 70.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/6.274, allocations: 79.47 kB / 3.136 GB, free: 70.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/6.275, allocations: 31.92 kB / 3.136 GB, free: 70.07 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.0004168/6.275, allocations: 254.1 kB / 3.136 GB, free: 69.81 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/6.275, allocations: 79.05 kB / 3.136 GB, free: 69.73 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002097/6.277, allocations: 1.005 MB / 3.137 GB, free: 68.71 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/6.277, allocations: 8 kB / 3.137 GB, free: 68.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/6.277, allocations: 0 / 3.137 GB, free: 68.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/6.277, allocations: 3.984 kB / 3.137 GB, free: 68.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009872/6.278, allocations: 0.8577 MB / 3.138 GB, free: 67.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/6.278, allocations: 0 / 3.138 GB, free: 67.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/6.279, allocations: 135.8 kB / 3.138 GB, free: 67.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005259/6.279, allocations: 84.77 kB / 3.138 GB, free: 67.57 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.173e-05/6.279, allocations: 23.98 kB / 3.138 GB, free: 67.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/6.281, allocations: 1.583 MB / 3.14 GB, free: 65.83 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/6.281, allocations: 0 / 3.14 GB, free: 65.83 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/6.283, allocations: 0.8382 MB / 3.141 GB, free: 64.97 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/6.283, allocations: 283.8 kB / 3.141 GB, free: 64.67 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-05/6.283, allocations: 20 kB / 3.141 GB, free: 64.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/6.284, allocations: 65.08 kB / 3.141 GB, free: 64.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/6.284, allocations: 56.91 kB / 3.141 GB, free: 64.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/6.284, allocations: 35.94 kB / 3.141 GB, free: 64.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005132/6.284, allocations: 471 kB / 3.141 GB, free: 64.04 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.3e-07/6.284, allocations: 0 / 3.141 GB, free: 64.04 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001033/6.285, allocations: 327.2 kB / 3.142 GB, free: 63.72 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.conTimMin.tNext,weaDat.conTim.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.003613/6.289, allocations: 2.313 MB / 3.144 GB, free: 61.52 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001361/6.29, allocations: 0.7204 MB / 3.145 GB, free: 60.78 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/6.29, allocations: 4 kB / 3.145 GB, free: 60.78 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007022/6.291, allocations: 488.3 kB / 3.145 GB, free: 60.29 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000923/6.292, allocations: 239.7 kB / 3.145 GB, free: 60.06 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00748/6.3, allocations: 4.912 MB / 3.15 GB, free: 55.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/6.3, allocations: 1.011 MB / 3.151 GB, free: 54.05 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007742/6.301, allocations: 253.9 kB / 3.151 GB, free: 53.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004123/6.301, allocations: 335.3 kB / 3.152 GB, free: 53.47 MB / 0.948 GB Notification: Performance of SimCode: time 7.62e-07/6.301, allocations: 3.938 kB / 3.152 GB, free: 53.47 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04941/6.351, allocations: 28.68 MB / 3.18 GB, free: 25 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002443/6.351, allocations: 264.3 kB / 3.18 GB, free: 24.64 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_Examples_ZenithAngle.o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_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_Examples_ZenithAngle_functions.o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_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_Examples_ZenithAngle_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_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_Examples_ZenithAngle_functions.o] Error 1