Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.549/2.549, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.00154/0.00154, allocations: 179.9 kB / 370.8 MB, free: 10.88 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.168/2.168, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001632/0.001631, allocations: 97.66 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006634/0.0006634, allocations: 12.09 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2477, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.874/7.122, allocations: 2.074 GB / 3.052 GB, free: 200.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/7.122, allocations: 106.2 kB / 3.052 GB, free: 200.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2554/7.377, allocations: 68.41 MB / 3.119 GB, free: 141.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.218e-06/7.377, allocations: 0 / 3.119 GB, free: 141.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.934e-05/7.378, allocations: 28 kB / 3.119 GB, free: 141.6 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.003779/7.381, allocations: 1.332 MB / 3.12 GB, free: 140.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/7.381, allocations: 12.02 kB / 3.12 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004361/7.382, allocations: 156.4 kB / 3.12 GB, free: 140 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00765/7.389, allocations: 0.6618 MB / 3.121 GB, free: 139.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/7.392, allocations: 0.6735 MB / 3.122 GB, free: 138.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.019e-05/7.392, allocations: 78.02 kB / 3.122 GB, free: 138.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/7.392, allocations: 96 kB / 3.122 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00535/7.397, allocations: 1.344 MB / 3.123 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.761e-05/7.397, allocations: 0 / 3.123 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/7.398, allocations: 44 kB / 3.123 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/7.398, allocations: 24 kB / 3.123 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008085/7.406, allocations: 1.846 MB / 3.125 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009469/7.415, allocations: 3.129 MB / 3.128 GB, free: 131.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005501/7.421, allocations: 1.221 MB / 3.129 GB, free: 130.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009696/7.422, allocations: 478.6 kB / 3.13 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002884/7.425, allocations: 0.7192 MB / 3.13 GB, free: 129.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=99): time 4.349e-06/7.425, allocations: 3.938 kB / 3.13 GB, free: 129.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=99): time 0.01/7.435, allocations: 1.818 MB / 3.132 GB, free: 127.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/7.435, allocations: 252.3 kB / 3.132 GB, free: 127.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/7.436, allocations: 0.5776 MB / 3.133 GB, free: 126.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002783/7.436, allocations: 45.7 kB / 3.133 GB, free: 126.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003853/7.437, allocations: 412.5 kB / 3.133 GB, free: 126.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000349/7.437, allocations: 331.1 kB / 3.134 GB, free: 125.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/7.437, allocations: 16 kB / 3.134 GB, free: 125.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001403/7.438, allocations: 390.8 kB / 3.134 GB, free: 125.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/7.44, allocations: 445.7 kB / 3.135 GB, free: 125 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002473/7.442, allocations: 0.5625 MB / 3.135 GB, free: 124.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002443/7.445, allocations: 486.8 kB / 3.136 GB, free: 124 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/7.445, allocations: 0 / 3.136 GB, free: 124 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.006469/7.451, allocations: 1.223 MB / 3.137 GB, free: 122.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/7.451, allocations: 4 kB / 3.137 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/7.451, allocations: 7.891 kB / 3.137 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/7.452, allocations: 84.88 kB / 3.137 GB, free: 122.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002516/7.455, allocations: 243.6 kB / 3.137 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002838/7.458, allocations: 1.533 MB / 3.139 GB, free: 120.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/7.46, allocations: 139.2 kB / 3.139 GB, free: 120.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/7.46, allocations: 43.95 kB / 3.139 GB, free: 120.5 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.0008351/7.461, allocations: 269.6 kB / 3.139 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/7.461, allocations: 90.97 kB / 3.139 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007639/7.469, allocations: 1.569 MB / 3.141 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/7.469, allocations: 8 kB / 3.141 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/7.469, allocations: 0 / 3.141 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/7.469, allocations: 15.97 kB / 3.141 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/7.471, allocations: 1.109 MB / 3.142 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/7.471, allocations: 0 / 3.142 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002457/7.474, allocations: 239.7 kB / 3.142 GB, free: 117.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008981/7.475, allocations: 84.72 kB / 3.142 GB, free: 117.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001917/7.475, allocations: 35.97 kB / 3.142 GB, free: 117.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002569/7.478, allocations: 1.56 MB / 3.144 GB, free: 115.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/7.478, allocations: 3.984 kB / 3.144 GB, free: 115.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00645/7.484, allocations: 1.338 MB / 3.145 GB, free: 114 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008818/7.485, allocations: 319.6 kB / 3.145 GB, free: 113.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/7.485, allocations: 27.94 kB / 3.145 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001911/7.487, allocations: 111.9 kB / 3.145 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/7.487, allocations: 80.89 kB / 3.145 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/7.488, allocations: 36.03 kB / 3.145 GB, free: 113.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000879/7.488, allocations: 487 kB / 3.146 GB, free: 112.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.8e-07/7.488, allocations: 0 / 3.146 GB, free: 112.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001668/7.49, allocations: 410.9 kB / 3.146 GB, free: 112.5 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.009102/7.499, allocations: 2.844 MB / 3.149 GB, free: 109.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005962/7.505, allocations: 1.249 MB / 3.15 GB, free: 108.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/7.505, allocations: 0 / 3.15 GB, free: 108.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003061/7.508, allocations: 0.7657 MB / 3.151 GB, free: 107.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/7.51, allocations: 242.6 kB / 3.151 GB, free: 107.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02141/7.532, allocations: 6.449 MB / 3.158 GB, free: 101.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006443/7.533, allocations: 1.075 MB / 3.159 GB, free: 99.96 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002537/7.535, allocations: 334.9 kB / 3.159 GB, free: 99.62 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/7.536, allocations: 415.2 kB / 3.159 GB, free: 99.22 MB / 0.948 GB Notification: Performance of SimCode: time 1.162e-06/7.536, allocations: 0 / 3.159 GB, free: 99.22 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09255/7.629, allocations: 32.15 MB / 3.191 GB, free: 67.42 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003098/7.629, allocations: 304.1 kB / 3.191 GB, free: 67.06 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.c:7: In file included from ./Buildings_8_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: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 -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c:2: In file included from ./Buildings_8_0_0_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_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.o] Error 1