Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.189/2.189, allocations: 248.5 MB / 261.1 MB, free: 5.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.0014, allocations: 164.3 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.899/1.899, allocations: 205.2 MB / 0.571 GB, free: 11.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 97.97 kB / 0.6754 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.299e-05, allocations: 0 / 0.7869 GB, free: 97.78 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2374, allocations: 106.3 MB / 0.8907 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.465/7.702, allocations: 2.192 GB / 3.082 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/7.703, allocations: 92.83 kB / 3.082 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2564/7.959, allocations: 67.74 MB / 3.149 GB, free: 94.14 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.874e-06/7.959, allocations: 3.938 kB / 3.149 GB, free: 94.14 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.838e-05/7.959, allocations: 24 kB / 3.149 GB, free: 94.11 MB / 0.8698 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.002894/7.962, allocations: 1.208 MB / 3.15 GB, free: 92.85 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/7.962, allocations: 8.031 kB / 3.15 GB, free: 92.84 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000241/7.962, allocations: 156.4 kB / 3.15 GB, free: 92.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007033/7.969, allocations: 0.6579 MB / 3.151 GB, free: 92.02 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/7.971, allocations: 0.6619 MB / 3.151 GB, free: 91.32 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.638e-05/7.971, allocations: 78.03 kB / 3.151 GB, free: 91.24 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/7.971, allocations: 99.95 kB / 3.151 GB, free: 91.14 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/7.974, allocations: 1.145 MB / 3.153 GB, free: 89.93 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.222e-05/7.974, allocations: 0 / 3.153 GB, free: 89.93 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/7.974, allocations: 40 kB / 3.153 GB, free: 89.89 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/7.974, allocations: 24 kB / 3.153 GB, free: 89.87 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003331/7.978, allocations: 1.46 MB / 3.154 GB, free: 88.41 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00834/7.986, allocations: 3.139 MB / 3.157 GB, free: 85.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/7.988, allocations: 0.9674 MB / 3.158 GB, free: 84.21 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/7.99, allocations: 456.4 kB / 3.158 GB, free: 83.77 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000911/7.99, allocations: 482.4 kB / 3.159 GB, free: 83.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/7.992, allocations: 0.598 MB / 3.159 GB, free: 82.59 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=99): time 4.659e-06/7.992, allocations: 0 / 3.159 GB, free: 82.59 MB / 0.8698 GB Notification: Performance of matching and sorting (n=99): time 0.00342/7.995, allocations: 0.9816 MB / 3.16 GB, free: 81.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.323e-05/7.995, allocations: 248.3 kB / 3.161 GB, free: 81.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/7.996, allocations: 0.5776 MB / 3.161 GB, free: 80.71 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001414/7.997, allocations: 45.7 kB / 3.161 GB, free: 80.66 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/7.997, allocations: 412.4 kB / 3.162 GB, free: 80.25 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003263/7.997, allocations: 327.2 kB / 3.162 GB, free: 79.93 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/7.997, allocations: 16 kB / 3.162 GB, free: 79.91 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001274/7.998, allocations: 386.7 kB / 3.162 GB, free: 79.52 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008865/7.998, allocations: 326 kB / 3.163 GB, free: 79.21 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/7.999, allocations: 460.3 kB / 3.163 GB, free: 78.73 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009637/8, allocations: 364.8 kB / 3.163 GB, free: 78.37 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/8, allocations: 0 / 3.163 GB, free: 78.37 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003301/8.004, allocations: 0.9854 MB / 3.164 GB, free: 77.38 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/8.004, allocations: 7.984 kB / 3.164 GB, free: 77.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.569e-06/8.004, allocations: 0 / 3.164 GB, free: 77.37 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009609/8.005, allocations: 84.88 kB / 3.165 GB, free: 77.28 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/8.007, allocations: 243.6 kB / 3.165 GB, free: 77.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/8.01, allocations: 1.513 MB / 3.166 GB, free: 75.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/8.012, allocations: 147.2 kB / 3.166 GB, free: 75.24 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/8.012, allocations: 35.97 kB / 3.166 GB, free: 75.21 MB / 0.8698 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.0003176/8.012, allocations: 160 kB / 3.167 GB, free: 75.05 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/8.013, allocations: 86.92 kB / 3.167 GB, free: 74.96 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004468/8.017, allocations: 1.335 MB / 3.168 GB, free: 73.61 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/8.017, allocations: 12 kB / 3.168 GB, free: 73.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/8.017, allocations: 0 / 3.168 GB, free: 73.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/8.017, allocations: 7.969 kB / 3.168 GB, free: 73.59 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/8.019, allocations: 1.108 MB / 3.169 GB, free: 72.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.525e-06/8.019, allocations: 7.984 kB / 3.169 GB, free: 72.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002345/8.021, allocations: 239.7 kB / 3.169 GB, free: 72.19 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008271/8.022, allocations: 84.78 kB / 3.169 GB, free: 72.11 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/8.022, allocations: 31.97 kB / 3.169 GB, free: 72.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/8.025, allocations: 1.54 MB / 3.171 GB, free: 70.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/8.025, allocations: 8.016 kB / 3.171 GB, free: 70.39 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003394/8.028, allocations: 1.104 MB / 3.172 GB, free: 69.27 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006564/8.029, allocations: 323.5 kB / 3.172 GB, free: 68.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/8.029, allocations: 20 kB / 3.172 GB, free: 68.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/8.031, allocations: 123.9 kB / 3.172 GB, free: 68.79 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/8.031, allocations: 76.89 kB / 3.173 GB, free: 68.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/8.031, allocations: 35.97 kB / 3.173 GB, free: 68.68 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008261/8.032, allocations: 483.1 kB / 3.173 GB, free: 68.21 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.11e-07/8.032, allocations: 3.938 kB / 3.173 GB, free: 68.21 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001513/8.034, allocations: 395.1 kB / 3.173 GB, free: 67.82 MB / 0.8698 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.005825/8.039, allocations: 2.556 MB / 3.176 GB, free: 65.38 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002808/8.042, allocations: 1.015 MB / 3.177 GB, free: 64.35 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/8.042, allocations: 0 / 3.177 GB, free: 64.35 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/8.044, allocations: 0.6446 MB / 3.177 GB, free: 63.69 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/8.046, allocations: 246.5 kB / 3.178 GB, free: 63.46 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006388/8.052, allocations: 1.828 MB / 3.18 GB, free: 61.59 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/8.053, allocations: 1.068 MB / 3.181 GB, free: 60.48 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002338/8.055, allocations: 330.9 kB / 3.181 GB, free: 60.16 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/8.056, allocations: 423.2 kB / 3.181 GB, free: 59.75 MB / 0.8698 GB Notification: Performance of SimCode: time 1.233e-06/8.056, allocations: 0 / 3.181 GB, free: 59.75 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08797/8.144, allocations: 33.92 MB / 3.214 GB, free: 26.08 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002798/8.144, allocations: 265.8 kB / 3.215 GB, free: 25.75 MB / 0.8698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.c:7: In file included from ./Buildings_7_0_0_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 -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.o] Error 1