Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.735/1.735, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001103/0.001103, allocations: 186.4 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 1.996/1.996, allocations: 205.4 MB / 0.6366 GB, free: 8.613 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.0009031/0.0009031, allocations: 92.09 kB / 0.7509 GB, free: 63.37 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003448, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3142, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.02/6.334, allocations: 2.074 GB / 3.062 GB, free: 146 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003798/6.334, allocations: 100.5 kB / 3.062 GB, free: 145.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1254/6.46, allocations: 58.69 MB / 3.12 GB, free: 87.16 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.526e-06/6.46, allocations: 0 / 3.12 GB, free: 87.16 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.482e-05/6.46, allocations: 24 kB / 3.12 GB, free: 87.14 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.002429/6.462, allocations: 1.164 MB / 3.121 GB, free: 85.92 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/6.462, allocations: 8.031 kB / 3.121 GB, free: 85.91 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/6.463, allocations: 130.9 kB / 3.121 GB, free: 85.77 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008971/6.463, allocations: 194.5 kB / 3.121 GB, free: 85.58 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/6.465, allocations: 0.6075 MB / 3.122 GB, free: 84.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.494e-05/6.465, allocations: 62 kB / 3.122 GB, free: 84.88 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.944e-05/6.465, allocations: 80 kB / 3.122 GB, free: 84.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/6.466, allocations: 0.8637 MB / 3.123 GB, free: 83.89 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/6.466, allocations: 0 / 3.123 GB, free: 83.89 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.608e-05/6.466, allocations: 32 kB / 3.123 GB, free: 83.86 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/6.466, allocations: 23.98 kB / 3.123 GB, free: 83.84 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/6.468, allocations: 1.104 MB / 3.124 GB, free: 82.73 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003465/6.471, allocations: 2.418 MB / 3.126 GB, free: 80.24 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/6.472, allocations: 0.7468 MB / 3.127 GB, free: 79.49 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.294e-05/6.472, allocations: 36.59 kB / 3.127 GB, free: 79.45 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006878/6.473, allocations: 439.4 kB / 3.127 GB, free: 79 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 2.575e-06/6.473, allocations: 3.938 kB / 3.127 GB, free: 79 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.002871/6.476, allocations: 1.137 MB / 3.128 GB, free: 77.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/6.476, allocations: 244 kB / 3.129 GB, free: 77.54 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006784/6.477, allocations: 0.5776 MB / 3.129 GB, free: 76.96 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/6.477, allocations: 41.69 kB / 3.129 GB, free: 76.92 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/6.477, allocations: 380.2 kB / 3.13 GB, free: 76.54 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/6.477, allocations: 248.3 kB / 3.13 GB, free: 76.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/6.477, allocations: 15.94 kB / 3.13 GB, free: 76.28 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001432/6.478, allocations: 378.8 kB / 3.13 GB, free: 75.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004054/6.478, allocations: 237.2 kB / 3.131 GB, free: 75.67 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/6.478, allocations: 335.6 kB / 3.131 GB, free: 75.31 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004696/6.479, allocations: 283.1 kB / 3.131 GB, free: 75.03 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/6.479, allocations: 0 / 3.131 GB, free: 75.03 MB / 0.948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001591/6.481, allocations: 0.7588 MB / 3.132 GB, free: 74.26 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/6.481, allocations: 12.69 kB / 3.132 GB, free: 74.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/6.481, allocations: 80 / 3.132 GB, free: 74.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006405/6.481, allocations: 80.78 kB / 3.132 GB, free: 74.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006326/6.482, allocations: 155.7 kB / 3.132 GB, free: 74.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/6.484, allocations: 1.53 MB / 3.134 GB, free: 72.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/6.484, allocations: 79.38 kB / 3.134 GB, free: 72.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-05/6.484, allocations: 39.91 kB / 3.134 GB, free: 72.22 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 (80): * Single equations (assignments): 79 * 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.0004131/6.485, allocations: 246.7 kB / 3.134 GB, free: 71.97 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/6.485, allocations: 87.02 kB / 3.134 GB, free: 71.89 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/6.487, allocations: 1.037 MB / 3.135 GB, free: 70.83 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/6.487, allocations: 12 kB / 3.135 GB, free: 70.82 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/6.487, allocations: 3.938 kB / 3.135 GB, free: 70.82 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/6.487, allocations: 3.984 kB / 3.135 GB, free: 70.81 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/6.49, allocations: 1.926 MB / 3.137 GB, free: 68.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/6.49, allocations: 4 kB / 3.137 GB, free: 68.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000563/6.491, allocations: 155.7 kB / 3.137 GB, free: 68.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004988/6.491, allocations: 92.75 kB / 3.137 GB, free: 68.58 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.052e-05/6.491, allocations: 19.98 kB / 3.137 GB, free: 68.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/6.493, allocations: 1.552 MB / 3.139 GB, free: 66.87 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/6.493, allocations: 4.062 kB / 3.139 GB, free: 66.86 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/6.494, allocations: 0.9374 MB / 3.14 GB, free: 65.91 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/6.495, allocations: 287.7 kB / 3.14 GB, free: 65.61 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.891e-05/6.495, allocations: 16 kB / 3.14 GB, free: 65.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005681/6.495, allocations: 67.94 kB / 3.14 GB, free: 65.52 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/6.496, allocations: 64.91 kB / 3.14 GB, free: 65.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-05/6.496, allocations: 31.98 kB / 3.14 GB, free: 65.43 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005537/6.496, allocations: 483 kB / 3.141 GB, free: 64.96 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/6.496, allocations: 0 / 3.141 GB, free: 64.96 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00112/6.497, allocations: 335.3 kB / 3.141 GB, free: 64.64 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 (87): * Single equations (assignments): 84 * 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.003649/6.501, allocations: 2.416 MB / 3.143 GB, free: 62.32 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001502/6.502, allocations: 0.7517 MB / 3.144 GB, free: 61.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/6.503, allocations: 0 / 3.144 GB, free: 61.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007365/6.503, allocations: 0.4924 MB / 3.144 GB, free: 61.04 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/6.504, allocations: 238.1 kB / 3.145 GB, free: 60.81 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008075/6.512, allocations: 5.057 MB / 3.15 GB, free: 55.69 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/6.513, allocations: 1.023 MB / 3.151 GB, free: 54.64 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008424/6.514, allocations: 254.2 kB / 3.151 GB, free: 54.38 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004515/6.514, allocations: 355.3 kB / 3.151 GB, free: 54.04 MB / 0.948 GB Notification: Performance of SimCode: time 1.683e-06/6.514, allocations: 0 / 3.151 GB, free: 54.04 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04759/6.562, allocations: 29.12 MB / 3.18 GB, free: 25.17 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/6.562, allocations: 277.5 kB / 3.18 GB, free: 24.82 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_IncidenceAngle.o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_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_IncidenceAngle_functions.o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_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_IncidenceAngle_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_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_IncidenceAngle_functions.o] Error 1