Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.656/2.656, allocations: 287.3 MB / 302.3 MB, free: 8.34 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.001623/0.001622, allocations: 188.4 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.072/2.072, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001184/0.001184, allocations: 96.16 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006385/0.0006386, allocations: 10.73 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2202, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.155/7.375, allocations: 2.071 GB / 3.05 GB, free: 203.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/7.375, allocations: 88.08 kB / 3.05 GB, free: 203.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2544/7.63, allocations: 57.28 MB / 3.106 GB, free: 154.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.916e-06/7.63, allocations: 0 / 3.106 GB, free: 154.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001287/7.63, allocations: 24 kB / 3.106 GB, free: 154.9 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.004045/7.634, allocations: 1.169 MB / 3.107 GB, free: 153.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/7.634, allocations: 12.02 kB / 3.107 GB, free: 153.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005847/7.635, allocations: 136.8 kB / 3.107 GB, free: 153.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003002/7.638, allocations: 246.3 kB / 3.107 GB, free: 153.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002407/7.64, allocations: 0.6184 MB / 3.108 GB, free: 152.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.449e-05/7.64, allocations: 58 kB / 3.108 GB, free: 152.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/7.641, allocations: 80 kB / 3.108 GB, free: 152.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003821/7.644, allocations: 0.9052 MB / 3.109 GB, free: 151.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.244e-05/7.645, allocations: 0 / 3.109 GB, free: 151.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002033/7.645, allocations: 36 kB / 3.109 GB, free: 151.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/7.645, allocations: 23.95 kB / 3.109 GB, free: 151.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005246/7.65, allocations: 1.128 MB / 3.11 GB, free: 150.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009752/7.66, allocations: 2.68 MB / 3.113 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004234/7.664, allocations: 0.8878 MB / 3.114 GB, free: 146.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001883/7.664, allocations: 24.7 kB / 3.114 GB, free: 146.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001657/7.666, allocations: 435.4 kB / 3.114 GB, free: 146.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=74): time 6.953e-06/7.666, allocations: 4 kB / 3.114 GB, free: 146.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=74): time 0.007451/7.674, allocations: 1.108 MB / 3.115 GB, free: 145.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/7.674, allocations: 240 kB / 3.115 GB, free: 144.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/7.676, allocations: 0.5774 MB / 3.116 GB, free: 144.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002769/7.676, allocations: 37.7 kB / 3.116 GB, free: 144.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005289/7.677, allocations: 380.3 kB / 3.116 GB, free: 143.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000427/7.677, allocations: 244.5 kB / 3.117 GB, free: 143.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/7.677, allocations: 16 kB / 3.117 GB, free: 143.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002312/7.677, allocations: 374.8 kB / 3.117 GB, free: 143.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/7.679, allocations: 221.2 kB / 3.117 GB, free: 143.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/7.68, allocations: 354.2 kB / 3.117 GB, free: 142.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/7.681, allocations: 271.1 kB / 3.118 GB, free: 142.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/7.681, allocations: 0 / 3.118 GB, free: 142.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004541/7.686, allocations: 0.7509 MB / 3.118 GB, free: 141.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/7.686, allocations: 10.03 kB / 3.118 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/7.686, allocations: 0 / 3.118 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/7.687, allocations: 88.77 kB / 3.119 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/7.689, allocations: 139.8 kB / 3.119 GB, free: 141.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004195/7.693, allocations: 1.536 MB / 3.12 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/7.695, allocations: 83.47 kB / 3.12 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/7.695, allocations: 27.92 kB / 3.12 GB, free: 139.7 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.0008451/7.696, allocations: 262.3 kB / 3.121 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00038/7.697, allocations: 79.06 kB / 3.121 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005663/7.702, allocations: 1.006 MB / 3.122 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/7.702, allocations: 8 kB / 3.122 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/7.702, allocations: 3.953 kB / 3.122 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/7.703, allocations: 4.031 kB / 3.122 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008173/7.711, allocations: 1.97 MB / 3.124 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/7.711, allocations: 4 kB / 3.124 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/7.712, allocations: 143.8 kB / 3.124 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/7.714, allocations: 84.72 kB / 3.124 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002424/7.714, allocations: 27.98 kB / 3.124 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003709/7.718, allocations: 1.552 MB / 3.125 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/7.718, allocations: 4.062 kB / 3.125 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004759/7.723, allocations: 0.9257 MB / 3.126 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/7.724, allocations: 279.8 kB / 3.126 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003385/7.724, allocations: 16 kB / 3.126 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/7.726, allocations: 67.95 kB / 3.127 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/7.726, allocations: 64.86 kB / 3.127 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/7.726, allocations: 27.98 kB / 3.127 GB, free: 132.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001373/7.728, allocations: 479 kB / 3.127 GB, free: 132.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.31e-07/7.728, allocations: 0 / 3.127 GB, free: 132.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002577/7.73, allocations: 339.2 kB / 3.127 GB, free: 132.1 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.008568/7.739, allocations: 2.384 MB / 3.13 GB, free: 129.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003614/7.742, allocations: 0.7474 MB / 3.13 GB, free: 129.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/7.743, allocations: 0 / 3.13 GB, free: 129.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002069/7.745, allocations: 492.3 kB / 3.131 GB, free: 128.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002947/7.748, allocations: 248.4 kB / 3.131 GB, free: 128.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02271/7.77, allocations: 5.461 MB / 3.136 GB, free: 122.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009119/7.771, allocations: 1.023 MB / 3.137 GB, free: 121.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002279/7.774, allocations: 254.2 kB / 3.138 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/7.775, allocations: 347.3 kB / 3.138 GB, free: 121.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.283e-06/7.775, allocations: 3.938 kB / 3.138 GB, free: 121.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1115/7.887, allocations: 29.22 MB / 3.167 GB, free: 92.24 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/7.887, allocations: 266.6 kB / 3.167 GB, free: 91.88 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_SkyTemperature_Examples_BlackBody.o Buildings_8_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.c:7: In file included from ./Buildings_8_0_0_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 -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_SkyTemperature_Examples_BlackBody_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.c:2: In file included from ./Buildings_8_0_0_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_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_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_SkyTemperature_Examples_BlackBody_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.o] Error 1