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 2.056/2.056, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.001326/0.001326, allocations: 180.2 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.568/1.568, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008942/0.0008942, allocations: 89.06 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.067e-05/4.07e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3787, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.889/7.268, allocations: 2.073 GB / 3.052 GB, free: 123.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/7.268, allocations: 83.66 kB / 3.052 GB, free: 123.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1317/7.4, allocations: 62.2 MB / 3.113 GB, free: 68.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.156e-06/7.4, allocations: 0 / 3.113 GB, free: 68.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.005e-05/7.4, allocations: 24 kB / 3.113 GB, free: 68.88 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.00169/7.402, allocations: 1.034 MB / 3.114 GB, free: 67.79 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/7.402, allocations: 8.031 kB / 3.114 GB, free: 67.79 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/7.402, allocations: 126.7 kB / 3.114 GB, free: 67.65 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008448/7.403, allocations: 186.5 kB / 3.115 GB, free: 67.47 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009305/7.404, allocations: 0.5959 MB / 3.115 GB, free: 66.83 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/7.404, allocations: 58.84 kB / 3.115 GB, free: 66.78 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.581e-05/7.404, allocations: 75.98 kB / 3.115 GB, free: 66.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/7.405, allocations: 0.8053 MB / 3.116 GB, free: 65.86 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/7.405, allocations: 0 / 3.116 GB, free: 65.86 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/7.405, allocations: 32 kB / 3.116 GB, free: 65.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/7.405, allocations: 23.89 kB / 3.116 GB, free: 65.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/7.406, allocations: 1.015 MB / 3.117 GB, free: 64.79 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003123/7.409, allocations: 2.388 MB / 3.119 GB, free: 62.33 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009607/7.41, allocations: 0.6845 MB / 3.12 GB, free: 61.64 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/7.411, allocations: 258.5 kB / 3.12 GB, free: 61.38 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.81e-05/7.411, allocations: 28.59 kB / 3.12 GB, free: 61.36 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005662/7.411, allocations: 417.8 kB / 3.121 GB, free: 60.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.274e-06/7.411, allocations: 0 / 3.121 GB, free: 60.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001442/7.413, allocations: 0.6795 MB / 3.121 GB, free: 60.24 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.637e-05/7.413, allocations: 239.9 kB / 3.122 GB, free: 59.95 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/7.414, allocations: 0.562 MB / 3.122 GB, free: 59.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/7.414, allocations: 42.64 kB / 3.122 GB, free: 59.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/7.414, allocations: 360.3 kB / 3.123 GB, free: 58.98 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/7.414, allocations: 228.7 kB / 3.123 GB, free: 58.75 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/7.414, allocations: 11.94 kB / 3.123 GB, free: 58.74 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001047/7.414, allocations: 382.8 kB / 3.123 GB, free: 58.36 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/7.414, allocations: 201.5 kB / 3.123 GB, free: 58.16 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/7.415, allocations: 309.1 kB / 3.124 GB, free: 57.83 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/7.415, allocations: 246 kB / 3.124 GB, free: 57.59 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/7.415, allocations: 0 / 3.124 GB, free: 57.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001298/7.416, allocations: 0.6881 MB / 3.125 GB, free: 56.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/7.416, allocations: 7.953 kB / 3.125 GB, free: 56.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/7.416, allocations: 8 kB / 3.125 GB, free: 56.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/7.417, allocations: 80.81 kB / 3.125 GB, free: 56.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/7.418, allocations: 135.8 kB / 3.125 GB, free: 56.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/7.419, allocations: 1.531 MB / 3.126 GB, free: 54.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005103/7.42, allocations: 71.48 kB / 3.126 GB, free: 54.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/7.42, allocations: 23.98 kB / 3.126 GB, free: 54.9 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 (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.0001498/7.42, allocations: 142.5 kB / 3.127 GB, free: 54.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/7.42, allocations: 83.2 kB / 3.127 GB, free: 54.67 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/7.422, allocations: 0.9533 MB / 3.128 GB, free: 53.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/7.422, allocations: 8 kB / 3.128 GB, free: 53.69 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/7.422, allocations: 0 / 3.128 GB, free: 53.69 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/7.422, allocations: 11.98 kB / 3.128 GB, free: 53.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008404/7.423, allocations: 0.8678 MB / 3.128 GB, free: 52.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/7.423, allocations: 0 / 3.128 GB, free: 52.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004993/7.423, allocations: 136.7 kB / 3.129 GB, free: 52.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000469/7.424, allocations: 84.78 kB / 3.129 GB, free: 52.55 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/7.424, allocations: 23.98 kB / 3.129 GB, free: 52.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/7.426, allocations: 1.556 MB / 3.13 GB, free: 50.83 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/7.426, allocations: 4.031 kB / 3.13 GB, free: 50.83 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/7.427, allocations: 0.7895 MB / 3.131 GB, free: 50.01 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/7.427, allocations: 275.8 kB / 3.131 GB, free: 49.72 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.175e-05/7.427, allocations: 19.98 kB / 3.131 GB, free: 49.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000489/7.428, allocations: 67.95 kB / 3.131 GB, free: 49.64 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/7.428, allocations: 60.64 kB / 3.131 GB, free: 49.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/7.428, allocations: 32.48 kB / 3.131 GB, free: 49.55 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004922/7.429, allocations: 467.1 kB / 3.132 GB, free: 49.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/7.429, allocations: 4 kB / 3.132 GB, free: 49.09 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009648/7.43, allocations: 327.2 kB / 3.132 GB, free: 48.77 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) * 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.003394/7.433, allocations: 2.213 MB / 3.134 GB, free: 46.64 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001126/7.434, allocations: 0.6746 MB / 3.135 GB, free: 45.96 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/7.434, allocations: 3.938 kB / 3.135 GB, free: 45.95 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006079/7.435, allocations: 475 kB / 3.135 GB, free: 45.48 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000997/7.436, allocations: 233.8 kB / 3.136 GB, free: 45.26 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/7.439, allocations: 1.508 MB / 3.137 GB, free: 43.71 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/7.44, allocations: 1.007 MB / 3.138 GB, free: 42.67 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007439/7.44, allocations: 253.9 kB / 3.138 GB, free: 42.42 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/7.441, allocations: 343.3 kB / 3.139 GB, free: 42.08 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/7.441, allocations: 0 / 3.139 GB, free: 42.08 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05163/7.492, allocations: 30.38 MB / 3.168 GB, free: 11.89 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/7.493, allocations: 234.8 kB / 3.169 GB, free: 11.58 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_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: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_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: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_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