Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.778/1.778, allocations: 292.6 MB / 307.5 MB, free: 5.168 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.001945/0.001945, allocations: 181 kB / 377.1 MB, free: 1.504 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.987/1.987, allocations: 205.4 MB / 0.6366 GB, free: 8.508 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.0009791/0.000979, allocations: 93.81 kB / 0.7509 GB, free: 63.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003477, allocations: 11.98 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3035, allocations: 116.3 MB / 0.9884 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.104/6.408, allocations: 2.074 GB / 3.062 GB, free: 146 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/6.408, allocations: 88.56 kB / 3.062 GB, free: 146 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1606/6.569, allocations: 78.6 MB / 3.139 GB, free: 67.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.275e-06/6.569, allocations: 0 / 3.139 GB, free: 67.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.223e-05/6.569, allocations: 35.92 kB / 3.139 GB, free: 67.26 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.002066/6.571, allocations: 1.362 MB / 3.14 GB, free: 65.84 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/6.571, allocations: 8.031 kB / 3.14 GB, free: 65.83 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001724/6.571, allocations: 173.1 kB / 3.14 GB, free: 65.65 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008214/6.572, allocations: 222.2 kB / 3.141 GB, free: 65.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00097/6.573, allocations: 0.7015 MB / 3.141 GB, free: 64.69 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.634e-05/6.573, allocations: 86.25 kB / 3.141 GB, free: 64.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/6.573, allocations: 108 kB / 3.141 GB, free: 64.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/6.575, allocations: 1.109 MB / 3.143 GB, free: 63.32 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/6.575, allocations: 0 / 3.143 GB, free: 63.32 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.509e-05/6.575, allocations: 55.89 kB / 3.143 GB, free: 63.27 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/6.575, allocations: 28 kB / 3.143 GB, free: 63.24 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/6.577, allocations: 1.226 MB / 3.144 GB, free: 62 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003752/6.58, allocations: 3.02 MB / 3.147 GB, free: 58.91 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/6.581, allocations: 0.7806 MB / 3.148 GB, free: 58.12 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.897e-05/6.582, allocations: 28.67 kB / 3.148 GB, free: 58.09 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006389/6.582, allocations: 455.2 kB / 3.148 GB, free: 57.63 MB / 0.948 GB Notification: Performance of pre-optimization done (n=78): time 2.434e-06/6.582, allocations: 0 / 3.148 GB, free: 57.63 MB / 0.948 GB Notification: Performance of matching and sorting (n=78): time 0.002729/6.585, allocations: 1.151 MB / 3.149 GB, free: 56.45 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/6.585, allocations: 245 kB / 3.149 GB, free: 56.16 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/6.586, allocations: 0.6483 MB / 3.15 GB, free: 55.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.541e-05/6.586, allocations: 37.7 kB / 3.15 GB, free: 55.46 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000274/6.586, allocations: 0.4957 MB / 3.151 GB, free: 54.95 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/6.586, allocations: 260.2 kB / 3.151 GB, free: 54.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/6.586, allocations: 12 kB / 3.151 GB, free: 54.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.533e-05/6.586, allocations: 338 kB / 3.151 GB, free: 54.35 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/6.587, allocations: 245.8 kB / 3.151 GB, free: 54.11 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/6.587, allocations: 359.4 kB / 3.152 GB, free: 53.72 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/6.588, allocations: 290.9 kB / 3.152 GB, free: 53.44 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/6.588, allocations: 4 kB / 3.152 GB, free: 53.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001595/6.589, allocations: 0.7863 MB / 3.153 GB, free: 52.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/6.589, allocations: 7.984 kB / 3.153 GB, free: 52.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/6.589, allocations: 0 / 3.153 GB, free: 52.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006398/6.59, allocations: 88.83 kB / 3.153 GB, free: 52.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/6.591, allocations: 147.8 kB / 3.153 GB, free: 52.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/6.593, allocations: 1.528 MB / 3.154 GB, free: 50.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000587/6.593, allocations: 91.27 kB / 3.155 GB, free: 50.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/6.593, allocations: 32.05 kB / 3.155 GB, free: 50.61 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.0004953/6.594, allocations: 270.8 kB / 3.155 GB, free: 50.34 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/6.594, allocations: 86.97 kB / 3.155 GB, free: 50.25 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/6.596, allocations: 1.046 MB / 3.156 GB, free: 49.18 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/6.596, allocations: 11.98 kB / 3.156 GB, free: 49.17 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/6.596, allocations: 3.938 kB / 3.156 GB, free: 49.17 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/6.596, allocations: 3.984 kB / 3.156 GB, free: 49.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/6.597, allocations: 1.001 MB / 3.157 GB, free: 48.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/6.597, allocations: 0 / 3.157 GB, free: 48.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/6.598, allocations: 155.7 kB / 3.157 GB, free: 47.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005022/6.598, allocations: 88.72 kB / 3.157 GB, free: 47.87 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/6.598, allocations: 23.98 kB / 3.157 GB, free: 47.85 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/6.6, allocations: 1.56 MB / 3.159 GB, free: 46.15 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/6.6, allocations: 0 / 3.159 GB, free: 46.15 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/6.601, allocations: 0.8965 MB / 3.16 GB, free: 45.23 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/6.602, allocations: 291.7 kB / 3.16 GB, free: 44.93 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.729e-05/6.602, allocations: 16 kB / 3.16 GB, free: 44.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005236/6.602, allocations: 67.94 kB / 3.16 GB, free: 44.85 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/6.602, allocations: 64.91 kB / 3.16 GB, free: 44.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.126e-05/6.602, allocations: 27.98 kB / 3.16 GB, free: 44.76 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005536/6.603, allocations: 0.5225 MB / 3.161 GB, free: 44.24 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/6.603, allocations: 3.938 kB / 3.161 GB, free: 44.24 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009854/6.604, allocations: 374.8 kB / 3.161 GB, free: 43.87 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.003407/6.607, allocations: 2.368 MB / 3.163 GB, free: 41.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00134/6.609, allocations: 0.7771 MB / 3.164 GB, free: 40.81 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/6.609, allocations: 4.125 kB / 3.164 GB, free: 40.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007438/6.61, allocations: 0.5003 MB / 3.164 GB, free: 40.29 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/6.611, allocations: 254 kB / 3.165 GB, free: 40.04 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008559/6.619, allocations: 5.73 MB / 3.17 GB, free: 34.18 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/6.62, allocations: 1.106 MB / 3.171 GB, free: 33.05 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008514/6.62, allocations: 262.7 kB / 3.172 GB, free: 32.79 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005006/6.621, allocations: 447.2 kB / 3.172 GB, free: 32.35 MB / 0.948 GB Notification: Performance of SimCode: time 6.61e-07/6.621, allocations: 4 kB / 3.172 GB, free: 32.35 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04924/6.67, allocations: 30.52 MB / 3.202 GB, free: 2.078 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/6.671, allocations: 269.5 kB / 3.202 GB, free: 1.723 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_Examples_DiffuseIsotropic.o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.c:7: In file included from ./Buildings_8_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 -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_Examples_DiffuseIsotropic_functions.o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.c:2: In file included from ./Buildings_8_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_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_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_Examples_DiffuseIsotropic_functions.o] Error 1