Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",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.832/1.832, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.00124/0.00124, allocations: 177 kB / 377.1 MB, free: 1.539 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.645/1.645, allocations: 205.4 MB / 0.6366 GB, free: 8.547 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.0009199/0.0009201, allocations: 96.84 kB / 0.7509 GB, free: 63.37 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003537, allocations: 12 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2797, allocations: 116.3 MB / 0.9884 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.647/5.927, allocations: 2.073 GB / 3.061 GB, free: 108.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/5.927, allocations: 92.67 kB / 3.061 GB, free: 108.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.129/6.056, allocations: 57.29 MB / 3.117 GB, free: 52.87 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.767e-06/6.056, allocations: 0 / 3.117 GB, free: 52.87 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001383/6.056, allocations: 27.94 kB / 3.117 GB, free: 52.84 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.003356/6.06, allocations: 1.18 MB / 3.118 GB, free: 51.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/6.06, allocations: 12.02 kB / 3.118 GB, free: 51.59 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003861/6.06, allocations: 131 kB / 3.118 GB, free: 51.46 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/6.062, allocations: 242.4 kB / 3.119 GB, free: 51.22 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/6.063, allocations: 0.6114 MB / 3.119 GB, free: 50.57 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.54e-05/6.063, allocations: 62 kB / 3.119 GB, free: 50.51 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/6.063, allocations: 76.94 kB / 3.119 GB, free: 50.43 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/6.065, allocations: 0.9053 MB / 3.12 GB, free: 49.48 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/6.065, allocations: 3.938 kB / 3.12 GB, free: 49.47 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.32e-05/6.065, allocations: 36 kB / 3.12 GB, free: 49.44 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/6.065, allocations: 28 kB / 3.12 GB, free: 49.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/6.067, allocations: 1.124 MB / 3.121 GB, free: 48.29 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004209/6.071, allocations: 2.672 MB / 3.124 GB, free: 45.54 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/6.073, allocations: 0.8783 MB / 3.125 GB, free: 44.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.042e-05/6.073, allocations: 28.69 kB / 3.125 GB, free: 44.61 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007141/6.074, allocations: 440.2 kB / 3.125 GB, free: 44.16 MB / 0.948 GB Notification: Performance of pre-optimization done (n=74): time 2.796e-06/6.074, allocations: 3.938 kB / 3.125 GB, free: 44.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=74): time 0.002997/6.077, allocations: 1.108 MB / 3.126 GB, free: 43.03 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/6.077, allocations: 248 kB / 3.127 GB, free: 42.73 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009154/6.078, allocations: 0.5735 MB / 3.127 GB, free: 42.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.731e-05/6.078, allocations: 37.7 kB / 3.127 GB, free: 42.11 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/6.078, allocations: 380.2 kB / 3.128 GB, free: 41.73 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/6.078, allocations: 240.5 kB / 3.128 GB, free: 41.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/6.078, allocations: 8 kB / 3.128 GB, free: 41.49 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001246/6.078, allocations: 386.8 kB / 3.128 GB, free: 41.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/6.079, allocations: 226.4 kB / 3.128 GB, free: 40.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004949/6.079, allocations: 350.2 kB / 3.129 GB, free: 40.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/6.08, allocations: 267.1 kB / 3.129 GB, free: 40.24 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/6.08, allocations: 4 kB / 3.129 GB, free: 40.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001683/6.082, allocations: 0.7509 MB / 3.13 GB, free: 39.47 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/6.082, allocations: 4 kB / 3.13 GB, free: 39.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/6.082, allocations: 4 kB / 3.13 GB, free: 39.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006373/6.082, allocations: 88.86 kB / 3.13 GB, free: 39.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005798/6.083, allocations: 143.8 kB / 3.13 GB, free: 39.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/6.085, allocations: 1.537 MB / 3.131 GB, free: 37.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006481/6.085, allocations: 83.47 kB / 3.131 GB, free: 37.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/6.085, allocations: 31.97 kB / 3.131 GB, free: 37.44 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (79): * Single equations (assignments): 78 * 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.0004581/6.086, allocations: 255.6 kB / 3.132 GB, free: 37.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/6.086, allocations: 75.06 kB / 3.132 GB, free: 37.11 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/6.088, allocations: 1.01 MB / 3.133 GB, free: 36.08 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/6.088, allocations: 15.98 kB / 3.133 GB, free: 36.07 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/6.088, allocations: 0 / 3.133 GB, free: 36.07 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/6.088, allocations: 9.531 kB / 3.133 GB, free: 36.06 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/6.091, allocations: 1.962 MB / 3.135 GB, free: 34.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/6.091, allocations: 0 / 3.135 GB, free: 34.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005377/6.092, allocations: 147.8 kB / 3.135 GB, free: 33.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005265/6.092, allocations: 84.77 kB / 3.135 GB, free: 33.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.468e-05/6.092, allocations: 27.92 kB / 3.135 GB, free: 33.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/6.094, allocations: 1.548 MB / 3.136 GB, free: 32.07 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/6.094, allocations: 0 / 3.136 GB, free: 32.07 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/6.095, allocations: 0.9297 MB / 3.137 GB, free: 31.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004231/6.096, allocations: 283.7 kB / 3.138 GB, free: 30.83 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/6.096, allocations: 20 kB / 3.138 GB, free: 30.81 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005821/6.097, allocations: 72 kB / 3.138 GB, free: 30.74 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/6.097, allocations: 64.91 kB / 3.138 GB, free: 30.67 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.388e-05/6.097, allocations: 31.94 kB / 3.138 GB, free: 30.64 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004999/6.097, allocations: 475 kB / 3.138 GB, free: 30.18 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/6.097, allocations: 0 / 3.138 GB, free: 30.18 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001097/6.098, allocations: 335.2 kB / 3.139 GB, free: 29.86 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.003637/6.102, allocations: 2.385 MB / 3.141 GB, free: 27.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001455/6.104, allocations: 0.7398 MB / 3.142 GB, free: 26.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/6.104, allocations: 4 kB / 3.142 GB, free: 26.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007438/6.104, allocations: 0.4888 MB / 3.142 GB, free: 26.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/6.105, allocations: 248.1 kB / 3.142 GB, free: 26.07 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008649/6.114, allocations: 5.449 MB / 3.148 GB, free: 20.56 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/6.115, allocations: 1.011 MB / 3.149 GB, free: 19.52 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001004/6.116, allocations: 262.1 kB / 3.149 GB, free: 19.25 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004747/6.116, allocations: 359.2 kB / 3.149 GB, free: 18.91 MB / 0.948 GB Notification: Performance of SimCode: time 1.613e-06/6.116, allocations: 0 / 3.149 GB, free: 18.91 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6758/6.792, allocations: 29.2 MB / 3.178 GB, free: 248.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/6.792, allocations: 260.8 kB / 3.178 GB, free: 248.4 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_SkyTemperature_Examples_BlackBody.o Buildings_8_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.c In file included from Buildings_8_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_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_SkyTemperature_Examples_BlackBody_functions.o Buildings_8_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_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_SkyTemperature_Examples_BlackBody_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_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_SkyTemperature_Examples_BlackBody_functions.o] Error 1