Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_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.81/1.81, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001223/0.001223, allocations: 194.8 kB / 377.1 MB, free: 1.527 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.713/1.713, allocations: 205.4 MB / 0.6366 GB, free: 8.578 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.001066/0.001066, allocations: 91.55 kB / 0.7509 GB, free: 63.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003473, allocations: 8 kB / 0.8748 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2955, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.889/6.185, allocations: 2.074 GB / 3.063 GB, free: 107.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/6.185, allocations: 89.69 kB / 3.063 GB, free: 107.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1935/6.379, allocations: 92.82 MB / 3.153 GB, free: 15.48 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.705e-06/6.379, allocations: 0 / 3.153 GB, free: 15.48 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.301e-05/6.379, allocations: 39.94 kB / 3.153 GB, free: 15.44 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002558/6.382, allocations: 1.511 MB / 3.155 GB, free: 13.87 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/6.382, allocations: 12.02 kB / 3.155 GB, free: 13.86 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002077/6.382, allocations: 202.8 kB / 3.155 GB, free: 13.65 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009335/6.383, allocations: 245.9 kB / 3.155 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/6.384, allocations: 0.7715 MB / 3.156 GB, free: 12.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.036e-05/6.384, allocations: 106.8 kB / 3.156 GB, free: 12.49 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/6.384, allocations: 132 kB / 3.156 GB, free: 12.36 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/6.386, allocations: 1.372 MB / 3.158 GB, free: 10.93 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/6.386, allocations: 0 / 3.158 GB, free: 10.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/6.386, allocations: 56 kB / 3.158 GB, free: 10.88 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/6.387, allocations: 36 kB / 3.158 GB, free: 10.84 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/6.389, allocations: 1.482 MB / 3.159 GB, free: 9.352 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00551/6.394, allocations: 3.605 MB / 3.163 GB, free: 5.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/6.396, allocations: 0.9624 MB / 3.164 GB, free: 4.699 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/6.396, allocations: 48.91 kB / 3.164 GB, free: 4.652 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009443/6.397, allocations: 0.5787 MB / 3.164 GB, free: 4.059 MB / 0.948 GB Notification: Performance of pre-optimization done (n=104): time 3.136e-06/6.397, allocations: 0 / 3.164 GB, free: 4.059 MB / 0.948 GB Notification: Performance of matching and sorting (n=104): time 0.003768/6.4, allocations: 1.491 MB / 3.166 GB, free: 2.539 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001764/6.401, allocations: 248.3 kB / 3.166 GB, free: 2.242 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/6.402, allocations: 0.7152 MB / 3.167 GB, free: 1.516 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-05/6.402, allocations: 45.7 kB / 3.167 GB, free: 1.465 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004348/6.402, allocations: 0.5543 MB / 3.167 GB, free: 0.9023 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000329/6.403, allocations: 342.9 kB / 3.168 GB, free: 0.5625 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/6.403, allocations: 20 kB / 3.168 GB, free: 0.543 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000197/6.403, allocations: 353.8 kB / 3.168 GB, free: 196 kB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6476/7.051, allocations: 334.9 kB / 3.168 GB, free: 244.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/7.052, allocations: 467.8 kB / 3.169 GB, free: 244.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007559/7.052, allocations: 411 kB / 3.169 GB, free: 244.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/7.052, allocations: 1.844 kB / 3.169 GB, free: 244.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0026/7.055, allocations: 1.061 MB / 3.17 GB, free: 244.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/7.055, allocations: 6.625 kB / 3.17 GB, free: 244.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/7.055, allocations: 1.688 kB / 3.17 GB, free: 244.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006629/7.056, allocations: 86.41 kB / 3.17 GB, free: 244.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009891/7.057, allocations: 208.9 kB / 3.17 GB, free: 244.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/7.059, allocations: 1.544 MB / 3.172 GB, free: 243.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/7.06, allocations: 107.4 kB / 3.172 GB, free: 243.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/7.06, allocations: 43.86 kB / 3.172 GB, free: 243.1 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 (116): * Single equations (assignments): 115 * 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.0007126/7.061, allocations: 307 kB / 3.172 GB, free: 243 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/7.061, allocations: 112.4 kB / 3.173 GB, free: 243 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003148/7.064, allocations: 1.412 MB / 3.174 GB, free: 242.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/7.064, allocations: 10.59 kB / 3.174 GB, free: 242.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/7.064, allocations: 0 / 3.174 GB, free: 242.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/7.064, allocations: 8.828 kB / 3.174 GB, free: 242.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004435/7.068, allocations: 2.614 MB / 3.176 GB, free: 242.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/7.068, allocations: 0 / 3.176 GB, free: 242.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007886/7.069, allocations: 191.9 kB / 3.177 GB, free: 242.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005078/7.07, allocations: 85 kB / 3.177 GB, free: 242.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-05/7.07, allocations: 28.86 kB / 3.177 GB, free: 242.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/7.072, allocations: 1.575 MB / 3.178 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/7.072, allocations: 0 / 3.178 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/7.074, allocations: 1.179 MB / 3.179 GB, free: 241 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005749/7.075, allocations: 362.6 kB / 3.18 GB, free: 240.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/7.075, allocations: 26.69 kB / 3.18 GB, free: 240.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006948/7.075, allocations: 70.78 kB / 3.18 GB, free: 240.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/7.076, allocations: 79.67 kB / 3.18 GB, free: 240.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-05/7.076, allocations: 39.23 kB / 3.18 GB, free: 240.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008654/7.076, allocations: 0.6103 MB / 3.181 GB, free: 240.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.71e-07/7.077, allocations: 0.5625 kB / 3.181 GB, free: 240.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001431/7.078, allocations: 441.4 kB / 3.181 GB, free: 240.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 (115): * Single equations (assignments): 112 * 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.004966/7.083, allocations: 2.659 MB / 3.184 GB, free: 239.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002462/7.085, allocations: 1.002 MB / 3.185 GB, free: 239.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/7.085, allocations: 1.281 kB / 3.185 GB, free: 239.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/7.087, allocations: 0.6172 MB / 3.185 GB, free: 239.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/7.088, allocations: 249.2 kB / 3.185 GB, free: 239.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/7.103, allocations: 6.829 MB / 3.192 GB, free: 237.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/7.104, allocations: 1.19 MB / 3.193 GB, free: 236.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001454/7.105, allocations: 302.6 kB / 3.194 GB, free: 236.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009758/7.106, allocations: 0.5297 MB / 3.194 GB, free: 236.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.132e-06/7.106, allocations: 2.062 kB / 3.194 GB, free: 236.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07132/7.178, allocations: 34.9 MB / 3.228 GB, free: 234.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/7.178, allocations: 259.7 kB / 3.228 GB, free: 233.8 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_IncidenceAngle.o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_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_Examples_IncidenceAngle_functions.o Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_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_Examples_IncidenceAngle_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarGeometry_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_Examples_IncidenceAngle_functions.o] Error 1