Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.557/2.557, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.001528/0.001527, allocations: 186.9 kB / 370.8 MB, free: 10.85 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.083/2.083, 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.001132/0.001132, allocations: 89.12 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005267/0.0005268, allocations: 15.98 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2559, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.771/7.027, allocations: 2.073 GB / 3.051 GB, free: 202.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/7.028, allocations: 95.5 kB / 3.051 GB, free: 202.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2996/7.327, allocations: 78.58 MB / 3.128 GB, free: 132.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.128e-06/7.327, allocations: 0 / 3.128 GB, free: 132.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001253/7.327, allocations: 35.98 kB / 3.128 GB, free: 132.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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003731/7.331, allocations: 1.362 MB / 3.129 GB, free: 131.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/7.331, allocations: 8.031 kB / 3.129 GB, free: 131.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005283/7.332, allocations: 173 kB / 3.129 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/7.333, allocations: 222.2 kB / 3.129 GB, free: 130.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/7.335, allocations: 0.7016 MB / 3.13 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.213e-05/7.336, allocations: 86.23 kB / 3.13 GB, free: 130 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/7.336, allocations: 111.9 kB / 3.13 GB, free: 129.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003042/7.339, allocations: 1.102 MB / 3.131 GB, free: 128.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.247e-05/7.339, allocations: 7.891 kB / 3.131 GB, free: 128.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/7.339, allocations: 51.94 kB / 3.131 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/7.339, allocations: 28 kB / 3.131 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003442/7.343, allocations: 1.226 MB / 3.133 GB, free: 127.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007716/7.35, allocations: 3.011 MB / 3.136 GB, free: 124.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/7.353, allocations: 0.7823 MB / 3.136 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/7.353, allocations: 28.69 kB / 3.136 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001192/7.354, allocations: 463.1 kB / 3.137 GB, free: 123 MB / 0.948 GB Notification: Performance of pre-optimization done (n=78): time 3.817e-06/7.354, allocations: 0 / 3.137 GB, free: 123 MB / 0.948 GB Notification: Performance of matching and sorting (n=78): time 0.005043/7.359, allocations: 1.152 MB / 3.138 GB, free: 121.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/7.359, allocations: 244 kB / 3.138 GB, free: 121.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/7.361, allocations: 0.6522 MB / 3.139 GB, free: 120.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002516/7.361, allocations: 37.7 kB / 3.139 GB, free: 120.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004728/7.361, allocations: 0.4918 MB / 3.139 GB, free: 120.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/7.362, allocations: 256.2 kB / 3.14 GB, free: 120.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-05/7.362, allocations: 16 kB / 3.14 GB, free: 120.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.823e-05/7.362, allocations: 337.9 kB / 3.14 GB, free: 119.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008018/7.363, allocations: 237.9 kB / 3.14 GB, free: 119.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008822/7.364, allocations: 363.3 kB / 3.14 GB, free: 119.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008772/7.365, allocations: 291 kB / 3.141 GB, free: 118.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/7.365, allocations: 3.938 kB / 3.141 GB, free: 118.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002981/7.368, allocations: 0.7863 MB / 3.142 GB, free: 118 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/7.368, allocations: 8 kB / 3.142 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/7.368, allocations: 4.047 kB / 3.142 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/7.369, allocations: 80.78 kB / 3.142 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/7.37, allocations: 151.8 kB / 3.142 GB, free: 117.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/7.373, allocations: 1.528 MB / 3.143 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/7.374, allocations: 95.3 kB / 3.143 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/7.374, allocations: 27.98 kB / 3.143 GB, free: 116 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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.0007938/7.375, allocations: 269.7 kB / 3.144 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/7.375, allocations: 83.3 kB / 3.144 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003743/7.379, allocations: 1.058 MB / 3.145 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/7.379, allocations: 12 kB / 3.145 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/7.379, allocations: 3.984 kB / 3.145 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/7.379, allocations: 3.984 kB / 3.145 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/7.381, allocations: 0.9937 MB / 3.146 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/7.381, allocations: 7.953 kB / 3.146 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/7.382, allocations: 151.7 kB / 3.146 GB, free: 113.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008835/7.383, allocations: 84.77 kB / 3.146 GB, free: 113.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/7.384, allocations: 23.98 kB / 3.146 GB, free: 113.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/7.386, allocations: 1.56 MB / 3.147 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/7.386, allocations: 0 / 3.147 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003201/7.389, allocations: 0.8888 MB / 3.148 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008761/7.39, allocations: 291.7 kB / 3.149 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/7.39, allocations: 28.06 kB / 3.149 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/7.391, allocations: 63.94 kB / 3.149 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/7.392, allocations: 64.91 kB / 3.149 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.735e-05/7.392, allocations: 31.98 kB / 3.149 GB, free: 110.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00105/7.393, allocations: 0.5225 MB / 3.149 GB, free: 109.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.61e-07/7.393, allocations: 0 / 3.149 GB, free: 109.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001616/7.395, allocations: 378.7 kB / 3.15 GB, free: 109.2 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 (89): * Single equations (assignments): 86 * 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.005626/7.4, allocations: 2.37 MB / 3.152 GB, free: 107 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00265/7.403, allocations: 0.7772 MB / 3.153 GB, free: 106.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/7.403, allocations: 0 / 3.153 GB, free: 106.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/7.404, allocations: 0.5003 MB / 3.153 GB, free: 105.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/7.406, allocations: 262 kB / 3.154 GB, free: 105.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01623/7.423, allocations: 5.734 MB / 3.159 GB, free: 99.62 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006634/7.423, allocations: 1.102 MB / 3.16 GB, free: 98.49 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001604/7.425, allocations: 258.7 kB / 3.16 GB, free: 98.23 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009414/7.426, allocations: 451.2 kB / 3.161 GB, free: 97.79 MB / 0.948 GB Notification: Performance of SimCode: time 1.353e-06/7.426, allocations: 0 / 3.161 GB, free: 97.79 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08635/7.512, allocations: 30.52 MB / 3.191 GB, free: 67.59 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002526/7.513, allocations: 284.6 kB / 3.191 GB, free: 67.23 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_Examples_DiffuseIsotropic.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_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_Examples_DiffuseIsotropic_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_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_Examples_DiffuseIsotropic_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_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_Examples_DiffuseIsotropic_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.o] Error 1