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.828/1.828, allocations: 289.7 MB / 302.2 MB, free: 2.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.001191/0.001191, allocations: 175.2 kB / 371.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.001163, allocations: 90.92 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.076e-05/4.083e-05, allocations: 8 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.318, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.189/6.507, allocations: 2.074 GB / 3.054 GB, free: 167.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/6.508, allocations: 97.55 kB / 3.054 GB, free: 167.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1206/6.628, allocations: 58.36 MB / 3.111 GB, free: 108.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.394e-06/6.628, allocations: 4 kB / 3.111 GB, free: 108.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.671e-05/6.628, allocations: 27.98 kB / 3.111 GB, free: 108.9 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.001694/6.63, allocations: 1.054 MB / 3.112 GB, free: 107.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/6.63, allocations: 8.031 kB / 3.112 GB, free: 107.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000127/6.63, allocations: 130.9 kB / 3.112 GB, free: 107.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008037/6.631, allocations: 192.6 kB / 3.112 GB, free: 107.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008748/6.632, allocations: 0.6037 MB / 3.113 GB, free: 106.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.436e-05/6.632, allocations: 58 kB / 3.113 GB, free: 106.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.453e-05/6.632, allocations: 76 kB / 3.113 GB, free: 106.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/6.633, allocations: 0.8415 MB / 3.114 GB, free: 105.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/6.633, allocations: 0 / 3.114 GB, free: 105.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.166e-05/6.633, allocations: 36 kB / 3.114 GB, free: 105.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/6.634, allocations: 20 kB / 3.114 GB, free: 105.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/6.635, allocations: 1.042 MB / 3.115 GB, free: 104.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002934/6.638, allocations: 2.423 MB / 3.117 GB, free: 102.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000991/6.639, allocations: 0.7121 MB / 3.118 GB, free: 101.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/6.639, allocations: 275.2 kB / 3.118 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.741e-05/6.639, allocations: 36.72 kB / 3.118 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005625/6.64, allocations: 427.1 kB / 3.118 GB, free: 100.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 1.914e-06/6.64, allocations: 0 / 3.118 GB, free: 100.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.001448/6.641, allocations: 0.7148 MB / 3.119 GB, free: 100 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/6.641, allocations: 244 kB / 3.119 GB, free: 99.71 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005918/6.642, allocations: 0.5737 MB / 3.12 GB, free: 99.14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.764e-05/6.642, allocations: 41.7 kB / 3.12 GB, free: 99.09 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/6.642, allocations: 372.3 kB / 3.12 GB, free: 98.72 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/6.642, allocations: 248.3 kB / 3.121 GB, free: 98.47 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/6.642, allocations: 17.12 kB / 3.121 GB, free: 98.46 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001339/6.642, allocations: 382.8 kB / 3.121 GB, free: 98.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/6.643, allocations: 209.5 kB / 3.121 GB, free: 97.87 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003842/6.643, allocations: 317.1 kB / 3.121 GB, free: 97.53 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/6.644, allocations: 266 kB / 3.122 GB, free: 97.27 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/6.644, allocations: 0 / 3.122 GB, free: 97.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001373/6.645, allocations: 0.7188 MB / 3.122 GB, free: 96.54 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/6.645, allocations: 5.562 kB / 3.122 GB, free: 96.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/6.645, allocations: 4 kB / 3.122 GB, free: 96.53 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005679/6.646, allocations: 84.78 kB / 3.123 GB, free: 96.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005637/6.646, allocations: 147.8 kB / 3.123 GB, free: 96.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/6.648, allocations: 1.514 MB / 3.124 GB, free: 94.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/6.648, allocations: 83.34 kB / 3.124 GB, free: 94.56 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/6.648, allocations: 31.95 kB / 3.124 GB, free: 94.53 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 (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.000146/6.649, allocations: 148.9 kB / 3.124 GB, free: 94.38 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-05/6.649, allocations: 79.02 kB / 3.124 GB, free: 94.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/6.651, allocations: 1.001 MB / 3.125 GB, free: 93.27 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/6.651, allocations: 8 kB / 3.125 GB, free: 93.27 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/6.651, allocations: 0 / 3.125 GB, free: 93.27 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/6.651, allocations: 7.969 kB / 3.125 GB, free: 93.26 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/6.653, allocations: 1.866 MB / 3.127 GB, free: 91.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/6.653, allocations: 5.547 kB / 3.127 GB, free: 91.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005254/6.654, allocations: 151.8 kB / 3.127 GB, free: 91.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000437/6.654, allocations: 84.78 kB / 3.128 GB, free: 91.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/6.654, allocations: 23.98 kB / 3.128 GB, free: 91.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/6.656, allocations: 1.54 MB / 3.129 GB, free: 89.39 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/6.656, allocations: 0 / 3.129 GB, free: 89.39 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/6.657, allocations: 0.8883 MB / 3.13 GB, free: 88.49 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/6.657, allocations: 295.6 kB / 3.13 GB, free: 88.18 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.512e-05/6.657, allocations: 16 kB / 3.13 GB, free: 88.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005279/6.658, allocations: 67.95 kB / 3.13 GB, free: 88.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/6.658, allocations: 60.69 kB / 3.13 GB, free: 88.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/6.658, allocations: 27.98 kB / 3.13 GB, free: 88.01 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004831/6.659, allocations: 483.1 kB / 3.131 GB, free: 87.55 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/6.659, allocations: 0 / 3.131 GB, free: 87.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001068/6.66, allocations: 335.3 kB / 3.131 GB, free: 87.22 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 (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.003275/6.663, allocations: 2.321 MB / 3.133 GB, free: 84.98 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001233/6.664, allocations: 0.7137 MB / 3.134 GB, free: 84.25 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/6.664, allocations: 0 / 3.134 GB, free: 84.25 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006277/6.665, allocations: 474.9 kB / 3.135 GB, free: 83.78 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/6.666, allocations: 245.6 kB / 3.135 GB, free: 83.54 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/6.669, allocations: 1.552 MB / 3.136 GB, free: 81.95 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/6.67, allocations: 1.023 MB / 3.137 GB, free: 80.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008378/6.671, allocations: 258.2 kB / 3.138 GB, free: 80.64 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004956/6.671, allocations: 359.3 kB / 3.138 GB, free: 80.29 MB / 0.948 GB Notification: Performance of SimCode: time 9.41e-07/6.671, allocations: 0 / 3.138 GB, free: 80.29 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04727/6.719, allocations: 30.84 MB / 3.168 GB, free: 49.68 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/6.719, allocations: 253.9 kB / 3.168 GB, free: 49.34 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_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: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_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: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_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