Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.783/1.783, 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.001066/0.001066, allocations: 181.6 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.521/1.521, 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.0009089/0.0009091, allocations: 90.91 kB / 0.745 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.037e-05/4.039e-05, allocations: 0 / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3488, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.837/7.186, allocations: 2.075 GB / 3.055 GB, free: 166.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/7.186, allocations: 89.39 kB / 3.055 GB, free: 166.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1495/7.335, allocations: 68.11 MB / 3.121 GB, free: 98.18 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.427e-06/7.335, allocations: 0 / 3.121 GB, free: 98.18 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000141/7.336, allocations: 28.73 kB / 3.121 GB, free: 98.16 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003346/7.339, allocations: 1.219 MB / 3.122 GB, free: 96.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/7.339, allocations: 8.031 kB / 3.122 GB, free: 96.88 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000409/7.339, allocations: 152.4 kB / 3.123 GB, free: 96.72 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004382/7.344, allocations: 0.6579 MB / 3.123 GB, free: 96.06 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/7.346, allocations: 0.6697 MB / 3.124 GB, free: 95.35 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.038e-05/7.346, allocations: 78.03 kB / 3.124 GB, free: 95.27 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003101/7.346, allocations: 96 kB / 3.124 GB, free: 95.18 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/7.349, allocations: 1.142 MB / 3.125 GB, free: 93.97 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/7.349, allocations: 3.953 kB / 3.125 GB, free: 93.96 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/7.349, allocations: 44 kB / 3.125 GB, free: 93.92 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/7.349, allocations: 24 kB / 3.125 GB, free: 93.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/7.351, allocations: 1.448 MB / 3.127 GB, free: 92.45 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006122/7.357, allocations: 3.12 MB / 3.13 GB, free: 89.28 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/7.359, allocations: 0.9945 MB / 3.131 GB, free: 88.27 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000593/7.359, allocations: 447.1 kB / 3.131 GB, free: 87.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006155/7.36, allocations: 474.4 kB / 3.131 GB, free: 87.28 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000903/7.361, allocations: 0.6097 MB / 3.132 GB, free: 86.65 MB / 0.948 GB Notification: Performance of pre-optimization done (n=99): time 3.025e-06/7.361, allocations: 0 / 3.132 GB, free: 86.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=99): time 0.002126/7.363, allocations: 0.9738 MB / 3.133 GB, free: 85.67 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/7.363, allocations: 248.3 kB / 3.133 GB, free: 85.37 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007045/7.364, allocations: 0.5854 MB / 3.134 GB, free: 84.78 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.667e-05/7.364, allocations: 42.55 kB / 3.134 GB, free: 84.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/7.364, allocations: 412.4 kB / 3.134 GB, free: 84.32 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/7.364, allocations: 323.2 kB / 3.135 GB, free: 84 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/7.365, allocations: 24 kB / 3.135 GB, free: 83.98 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001275/7.365, allocations: 386.8 kB / 3.135 GB, free: 83.59 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005129/7.365, allocations: 329.9 kB / 3.135 GB, free: 83.27 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006583/7.366, allocations: 448.4 kB / 3.136 GB, free: 82.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/7.366, allocations: 372.8 kB / 3.136 GB, free: 82.44 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/7.366, allocations: 0 / 3.136 GB, free: 82.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001912/7.368, allocations: 0.9787 MB / 3.137 GB, free: 81.45 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/7.368, allocations: 8 kB / 3.137 GB, free: 81.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/7.368, allocations: 0 / 3.137 GB, free: 81.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000604/7.369, allocations: 92.81 kB / 3.137 GB, free: 81.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/7.37, allocations: 231.6 kB / 3.137 GB, free: 81.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/7.372, allocations: 1.529 MB / 3.139 GB, free: 79.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/7.373, allocations: 139.2 kB / 3.139 GB, free: 79.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/7.373, allocations: 39.97 kB / 3.139 GB, free: 79.28 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0002433/7.374, allocations: 156.8 kB / 3.139 GB, free: 79.12 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/7.374, allocations: 86.97 kB / 3.139 GB, free: 79.03 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002816/7.377, allocations: 1.331 MB / 3.141 GB, free: 77.68 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/7.377, allocations: 15.94 kB / 3.141 GB, free: 77.66 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/7.377, allocations: 4 kB / 3.141 GB, free: 77.66 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/7.377, allocations: 3.984 kB / 3.141 GB, free: 77.66 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/7.378, allocations: 1.099 MB / 3.142 GB, free: 76.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/7.378, allocations: 4 kB / 3.142 GB, free: 76.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/7.379, allocations: 243.6 kB / 3.142 GB, free: 76.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000488/7.38, allocations: 85.52 kB / 3.142 GB, free: 76.18 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/7.38, allocations: 27.98 kB / 3.142 GB, free: 76.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/7.381, allocations: 1.54 MB / 3.143 GB, free: 74.47 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/7.381, allocations: 4.016 kB / 3.143 GB, free: 74.46 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/7.383, allocations: 1.1 MB / 3.145 GB, free: 73.35 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005421/7.384, allocations: 327.5 kB / 3.145 GB, free: 73.01 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/7.384, allocations: 19.94 kB / 3.145 GB, free: 72.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/7.385, allocations: 123.9 kB / 3.145 GB, free: 72.87 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/7.386, allocations: 73.92 kB / 3.145 GB, free: 72.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.789e-05/7.386, allocations: 39.98 kB / 3.145 GB, free: 72.75 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006268/7.386, allocations: 479.1 kB / 3.146 GB, free: 72.29 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/7.386, allocations: 0 / 3.146 GB, free: 72.29 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001586/7.388, allocations: 410.9 kB / 3.146 GB, free: 71.89 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 (111): * Single equations (assignments): 108 * 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.00479/7.393, allocations: 2.571 MB / 3.148 GB, free: 69.39 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00189/7.395, allocations: 1.011 MB / 3.149 GB, free: 68.37 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/7.395, allocations: 0 / 3.149 GB, free: 68.37 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009195/7.395, allocations: 0.6371 MB / 3.15 GB, free: 67.71 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/7.397, allocations: 235.8 kB / 3.15 GB, free: 67.49 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006624/7.403, allocations: 1.836 MB / 3.152 GB, free: 65.62 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/7.404, allocations: 1.071 MB / 3.153 GB, free: 64.52 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002665/7.407, allocations: 327 kB / 3.153 GB, free: 64.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/7.408, allocations: 423.2 kB / 3.154 GB, free: 63.78 MB / 0.948 GB Notification: Performance of SimCode: time 2.064e-06/7.408, allocations: 0 / 3.154 GB, free: 63.78 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07/7.478, allocations: 33.93 MB / 3.187 GB, free: 30.12 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/7.479, allocations: 262.8 kB / 3.187 GB, free: 29.79 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_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_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_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_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_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_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_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.o] Error 1