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.783/1.783, allocations: 289.7 MB / 302.2 MB, free: 2.141 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.001517/0.001517, allocations: 178.4 kB / 371.6 MB, free: 3.367 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.951/1.951, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001077/0.001077, allocations: 92.02 kB / 0.745 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.41e-05/4.425e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3184, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.087/6.405, allocations: 2.072 GB / 3.052 GB, free: 168.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/6.406, allocations: 85.75 kB / 3.052 GB, free: 168.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1226/6.528, allocations: 56.98 MB / 3.108 GB, free: 111.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.025e-06/6.528, allocations: 0 / 3.108 GB, free: 111.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001024/6.528, allocations: 27.94 kB / 3.108 GB, free: 111.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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.002211/6.531, allocations: 1.07 MB / 3.109 GB, free: 110.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/6.531, allocations: 8.031 kB / 3.109 GB, free: 110.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002706/6.531, allocations: 127 kB / 3.109 GB, free: 110.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/6.532, allocations: 242.4 kB / 3.11 GB, free: 110.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/6.534, allocations: 0.6082 MB / 3.11 GB, free: 109.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.787e-05/6.534, allocations: 66 kB / 3.11 GB, free: 109.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/6.534, allocations: 79.98 kB / 3.11 GB, free: 109.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/6.535, allocations: 0.8625 MB / 3.111 GB, free: 108.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/6.535, allocations: 0 / 3.111 GB, free: 108.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.44e-05/6.535, allocations: 32 kB / 3.111 GB, free: 108.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/6.535, allocations: 21.12 kB / 3.111 GB, free: 108.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/6.537, allocations: 1.05 MB / 3.112 GB, free: 107.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003701/6.54, allocations: 2.67 MB / 3.115 GB, free: 104.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/6.542, allocations: 0.7995 MB / 3.116 GB, free: 103.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/6.542, allocations: 264.5 kB / 3.116 GB, free: 103.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.202e-05/6.542, allocations: 32.8 kB / 3.116 GB, free: 103.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005982/6.543, allocations: 417.2 kB / 3.116 GB, free: 103.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=74): time 2.645e-06/6.543, allocations: 4 kB / 3.116 GB, free: 103.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=74): time 0.001563/6.544, allocations: 0.6876 MB / 3.117 GB, free: 102.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/6.544, allocations: 240.1 kB / 3.117 GB, free: 102.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007485/6.545, allocations: 0.5775 MB / 3.118 GB, free: 101.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.85e-05/6.545, allocations: 38.27 kB / 3.118 GB, free: 101.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/6.545, allocations: 384.2 kB / 3.118 GB, free: 101.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/6.546, allocations: 240.5 kB / 3.118 GB, free: 100.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/6.546, allocations: 16 kB / 3.118 GB, free: 100.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001006/6.546, allocations: 378.8 kB / 3.119 GB, free: 100.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/6.546, allocations: 197.5 kB / 3.119 GB, free: 100.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003859/6.546, allocations: 336.2 kB / 3.119 GB, free: 99.87 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/6.547, allocations: 254 kB / 3.119 GB, free: 99.62 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/6.547, allocations: 0 / 3.119 GB, free: 99.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001492/6.548, allocations: 0.7109 MB / 3.12 GB, free: 98.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/6.548, allocations: 11.98 kB / 3.12 GB, free: 98.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/6.548, allocations: 0 / 3.12 GB, free: 98.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006022/6.549, allocations: 82.44 kB / 3.12 GB, free: 98.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005909/6.55, allocations: 147.8 kB / 3.12 GB, free: 98.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/6.551, allocations: 1.512 MB / 3.122 GB, free: 97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006607/6.552, allocations: 91.33 kB / 3.122 GB, free: 96.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/6.552, allocations: 23.98 kB / 3.122 GB, free: 96.89 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 () * 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.0001701/6.552, allocations: 148.9 kB / 3.122 GB, free: 96.74 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/6.552, allocations: 79.06 kB / 3.122 GB, free: 96.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/6.554, allocations: 0.958 MB / 3.123 GB, free: 95.68 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/6.554, allocations: 8 kB / 3.123 GB, free: 95.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/6.554, allocations: 7.953 kB / 3.123 GB, free: 95.67 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/6.554, allocations: 4.547 kB / 3.123 GB, free: 95.66 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/6.557, allocations: 1.925 MB / 3.125 GB, free: 93.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/6.557, allocations: 3.938 kB / 3.125 GB, free: 93.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005507/6.558, allocations: 143.8 kB / 3.125 GB, free: 93.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004774/6.559, allocations: 92.7 kB / 3.125 GB, free: 93.43 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-05/6.559, allocations: 19.98 kB / 3.125 GB, free: 93.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/6.56, allocations: 1.542 MB / 3.127 GB, free: 91.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/6.56, allocations: 4.031 kB / 3.127 GB, free: 91.73 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/6.562, allocations: 0.8727 MB / 3.128 GB, free: 90.84 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004379/6.562, allocations: 275.8 kB / 3.128 GB, free: 90.55 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/6.562, allocations: 16 kB / 3.128 GB, free: 90.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006228/6.563, allocations: 67.95 kB / 3.128 GB, free: 90.47 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/6.563, allocations: 64.64 kB / 3.128 GB, free: 90.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.54e-05/6.563, allocations: 28.05 kB / 3.128 GB, free: 90.38 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005911/6.564, allocations: 471.1 kB / 3.129 GB, free: 89.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.31e-07/6.564, allocations: 0 / 3.129 GB, free: 89.93 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001136/6.565, allocations: 339.1 kB / 3.129 GB, free: 89.59 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) * 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.003332/6.568, allocations: 2.3 MB / 3.131 GB, free: 87.39 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001191/6.569, allocations: 0.6982 MB / 3.132 GB, free: 86.68 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/6.569, allocations: 0 / 3.132 GB, free: 86.68 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006531/6.57, allocations: 470.9 kB / 3.132 GB, free: 86.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/6.571, allocations: 262 kB / 3.132 GB, free: 85.95 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/6.575, allocations: 1.528 MB / 3.134 GB, free: 84.38 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/6.576, allocations: 1.019 MB / 3.135 GB, free: 83.34 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008116/6.576, allocations: 258.2 kB / 3.135 GB, free: 83.08 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004668/6.577, allocations: 351.3 kB / 3.136 GB, free: 82.73 MB / 0.948 GB Notification: Performance of SimCode: time 3.9e-07/6.577, allocations: 0 / 3.136 GB, free: 82.73 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05542/6.632, allocations: 30.94 MB / 3.166 GB, free: 51.99 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/6.633, allocations: 229.7 kB / 3.166 GB, free: 51.68 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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 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: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 -falign-functions -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 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: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_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