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.762/1.762, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001385/0.001385, allocations: 189.6 kB / 377.1 MB, free: 1.551 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.053/2.053, allocations: 205.4 MB / 0.6366 GB, free: 8.652 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.0009287/0.0009288, allocations: 88.77 kB / 0.7509 GB, free: 62.89 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004412/0.0004412, allocations: 15.98 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3882, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.994/6.382, allocations: 2.075 GB / 3.063 GB, free: 111.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/6.382, allocations: 99.66 kB / 3.063 GB, free: 111.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1447/6.527, allocations: 68.43 MB / 3.13 GB, free: 44.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.549e-06/6.527, allocations: 4 kB / 3.13 GB, free: 44.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.825e-05/6.527, allocations: 27.92 kB / 3.13 GB, free: 44.67 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.002529/6.53, allocations: 1.325 MB / 3.131 GB, free: 43.28 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/6.53, allocations: 16.02 kB / 3.131 GB, free: 43.27 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000185/6.53, allocations: 156.4 kB / 3.132 GB, free: 43.11 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004046/6.534, allocations: 0.6618 MB / 3.132 GB, free: 42.44 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/6.535, allocations: 0.6774 MB / 3.133 GB, free: 41.72 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.73e-05/6.535, allocations: 78.03 kB / 3.133 GB, free: 41.64 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/6.535, allocations: 96 kB / 3.133 GB, free: 41.55 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/6.538, allocations: 1.336 MB / 3.134 GB, free: 40.15 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/6.538, allocations: 7.938 kB / 3.134 GB, free: 40.14 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/6.538, allocations: 47.94 kB / 3.134 GB, free: 40.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/6.538, allocations: 28 kB / 3.134 GB, free: 40.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003889/6.542, allocations: 1.835 MB / 3.136 GB, free: 38.23 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005133/6.547, allocations: 3.131 MB / 3.139 GB, free: 35.04 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002673/6.55, allocations: 1.22 MB / 3.14 GB, free: 33.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005989/6.551, allocations: 482.6 kB / 3.141 GB, free: 33.24 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001464/6.552, allocations: 0.7191 MB / 3.142 GB, free: 32.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=99): time 2.625e-06/6.552, allocations: 0 / 3.142 GB, free: 32.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=99): time 0.005181/6.557, allocations: 1.823 MB / 3.143 GB, free: 30.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.528e-05/6.557, allocations: 244.3 kB / 3.144 GB, free: 30.36 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000818/6.558, allocations: 0.5892 MB / 3.144 GB, free: 29.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/6.558, allocations: 45.7 kB / 3.144 GB, free: 29.71 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/6.559, allocations: 404.5 kB / 3.145 GB, free: 29.31 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/6.559, allocations: 331.1 kB / 3.145 GB, free: 28.98 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/6.559, allocations: 20 kB / 3.145 GB, free: 28.96 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001481/6.559, allocations: 386.8 kB / 3.145 GB, free: 28.58 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/6.56, allocations: 449.7 kB / 3.146 GB, free: 28.14 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/6.561, allocations: 0.5634 MB / 3.146 GB, free: 27.54 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/6.563, allocations: 486.7 kB / 3.147 GB, free: 27.07 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/6.563, allocations: 3.938 kB / 3.147 GB, free: 27.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003275/6.566, allocations: 1.216 MB / 3.148 GB, free: 25.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/6.566, allocations: 8 kB / 3.148 GB, free: 25.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/6.566, allocations: 0 / 3.148 GB, free: 25.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006416/6.567, allocations: 92.75 kB / 3.148 GB, free: 25.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/6.568, allocations: 235.7 kB / 3.148 GB, free: 25.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/6.57, allocations: 1.529 MB / 3.15 GB, free: 23.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/6.571, allocations: 143.2 kB / 3.15 GB, free: 23.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/6.571, allocations: 39.97 kB / 3.15 GB, free: 23.66 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 () * Number of clocked 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.0006366/6.572, allocations: 271.9 kB / 3.15 GB, free: 23.38 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/6.572, allocations: 82.97 kB / 3.15 GB, free: 23.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003858/6.576, allocations: 1.585 MB / 3.152 GB, free: 21.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/6.576, allocations: 12 kB / 3.152 GB, free: 21.69 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/6.576, allocations: 0 / 3.152 GB, free: 21.69 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/6.576, allocations: 4.641 kB / 3.152 GB, free: 21.69 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/6.577, allocations: 1.105 MB / 3.153 GB, free: 20.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/6.577, allocations: 0 / 3.153 GB, free: 20.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/6.578, allocations: 247.6 kB / 3.153 GB, free: 20.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005199/6.579, allocations: 84.77 kB / 3.153 GB, free: 20.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/6.579, allocations: 27.97 kB / 3.153 GB, free: 20.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/6.581, allocations: 1.564 MB / 3.155 GB, free: 18.47 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/6.581, allocations: 5.547 kB / 3.155 GB, free: 18.47 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003384/6.584, allocations: 1.338 MB / 3.156 GB, free: 17.11 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005843/6.585, allocations: 315.6 kB / 3.156 GB, free: 16.78 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/6.585, allocations: 23.95 kB / 3.156 GB, free: 16.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/6.586, allocations: 123.9 kB / 3.157 GB, free: 16.64 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/6.586, allocations: 72.89 kB / 3.157 GB, free: 16.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.464e-05/6.586, allocations: 39.98 kB / 3.157 GB, free: 16.53 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005952/6.587, allocations: 491 kB / 3.157 GB, free: 16.05 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.2e-07/6.587, allocations: 0 / 3.157 GB, free: 16.05 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001297/6.588, allocations: 403 kB / 3.158 GB, free: 15.66 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) * Number of clocked states: 0 () * 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.005603/6.594, allocations: 2.845 MB / 3.16 GB, free: 12.91 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003184/6.597, allocations: 1.246 MB / 3.162 GB, free: 11.64 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/6.597, allocations: 8 kB / 3.162 GB, free: 11.64 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001563/6.598, allocations: 0.7578 MB / 3.162 GB, free: 10.87 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/6.6, allocations: 246.4 kB / 3.163 GB, free: 10.63 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/6.614, allocations: 6.452 MB / 3.169 GB, free: 4.109 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006834/6.614, allocations: 1.071 MB / 3.17 GB, free: 3.008 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001693/6.616, allocations: 326.9 kB / 3.17 GB, free: 2.684 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007477/6.617, allocations: 423.2 kB / 3.171 GB, free: 2.27 MB / 0.948 GB Notification: Performance of SimCode: time 9.52e-07/6.617, allocations: 0 / 3.171 GB, free: 2.27 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6283/7.245, allocations: 32.13 MB / 3.202 GB, free: 242.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003408/7.246, allocations: 295.5 kB / 3.202 GB, free: 242.1 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_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: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_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: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_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