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.739/2.739, allocations: 287.3 MB / 302.3 MB, free: 8.293 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.002337/0.002337, allocations: 186.2 kB / 370.8 MB, free: 10.86 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.132/2.132, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001125/0.001125, allocations: 101.2 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004747, allocations: 10.75 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2141, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005279/0.2194, allocations: 3.523 MB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8398/1.059, allocations: 127.2 MB / 1.106 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007603/1.06, allocations: 17.25 kB / 1.106 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003687/1.06, allocations: 73.92 kB / 1.106 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001999/1.062, allocations: 432.2 kB / 1.106 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002699/1.065, allocations: 0.5918 MB / 1.107 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001988/1.067, allocations: 0.7541 MB / 1.108 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/1.068, allocations: 486 kB / 1.108 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008749/1.069, allocations: 299.9 kB / 1.109 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005849/1.07, allocations: 292.7 kB / 1.109 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001191/1.07, allocations: 21.44 kB / 1.109 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/1.071, allocations: 246.2 kB / 1.109 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002924/1.071, allocations: 164.4 kB / 1.109 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002788/1.072, allocations: 179.8 kB / 1.109 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002267/1.074, allocations: 1.028 MB / 1.11 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/1.074, allocations: 5.188 kB / 1.11 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.885e-06/1.074, allocations: 0 / 1.11 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.036e-05/1.074, allocations: 0 / 1.11 GB, free: 1.113 MB / 0.6823 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.00338/1.077, allocations: 1.135 MB / 1.112 GB, free: 16.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/1.077, allocations: 9.875 kB / 1.112 GB, free: 16.41 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003113/1.078, allocations: 132.9 kB / 1.112 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/1.08, allocations: 243.4 kB / 1.112 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/1.082, allocations: 0.6863 MB / 1.113 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-05/1.082, allocations: 61.28 kB / 1.113 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/1.082, allocations: 78.73 kB / 1.113 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/1.085, allocations: 0.9011 MB / 1.114 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/1.085, allocations: 5.25 kB / 1.114 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/1.085, allocations: 34.62 kB / 1.114 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.278e-05/1.085, allocations: 24.31 kB / 1.114 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003729/1.089, allocations: 1.113 MB / 1.115 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006764/1.096, allocations: 2.693 MB / 1.117 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/1.098, allocations: 0.8696 MB / 1.118 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/1.099, allocations: 31.34 kB / 1.118 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001196/1.1, allocations: 441.2 kB / 1.119 GB, free: 14.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 3.807e-06/1.1, allocations: 0 / 1.119 GB, free: 14.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.004991/1.105, allocations: 1.089 MB / 1.12 GB, free: 14.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/1.105, allocations: 192.2 kB / 1.12 GB, free: 14.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/1.106, allocations: 0.5706 MB / 1.12 GB, free: 13.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002146/1.106, allocations: 40.7 kB / 1.12 GB, free: 13.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004201/1.107, allocations: 387.3 kB / 1.121 GB, free: 13.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/1.107, allocations: 247.4 kB / 1.121 GB, free: 13.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/1.107, allocations: 12.75 kB / 1.121 GB, free: 13.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002035/1.107, allocations: 376.3 kB / 1.121 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007871/1.108, allocations: 223.2 kB / 1.122 GB, free: 13.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009218/1.109, allocations: 340.9 kB / 1.122 GB, free: 13.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008785/1.11, allocations: 271.5 kB / 1.122 GB, free: 13.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/1.11, allocations: 4 kB / 1.122 GB, free: 13.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002967/1.113, allocations: 0.7472 MB / 1.123 GB, free: 13.03 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/1.113, allocations: 8.281 kB / 1.123 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/1.113, allocations: 1.219 kB / 1.123 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009778/1.114, allocations: 86.14 kB / 1.123 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/1.116, allocations: 147.4 kB / 1.123 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003145/1.119, allocations: 1.536 MB / 1.125 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.12, allocations: 89.7 kB / 1.125 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-05/1.12, allocations: 29.16 kB / 1.125 GB, free: 11.67 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (80): * Single equations (assignments): 79 * 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.0007389/1.121, allocations: 255.3 kB / 1.125 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/1.121, allocations: 69.97 kB / 1.125 GB, free: 11.51 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003688/1.125, allocations: 1 MB / 1.126 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.406e-05/1.125, allocations: 11.7 kB / 1.126 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.125, allocations: 4 kB / 1.126 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/1.125, allocations: 6.984 kB / 1.126 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005366/1.13, allocations: 1.916 MB / 1.128 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.13, allocations: 0 / 1.128 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/1.132, allocations: 148.7 kB / 1.128 GB, free: 10.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008713/1.132, allocations: 83.41 kB / 1.128 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/1.133, allocations: 26.59 kB / 1.128 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002878/1.135, allocations: 1.556 MB / 1.13 GB, free: 9.598 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.136, allocations: 1.062 kB / 1.13 GB, free: 9.598 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003305/1.139, allocations: 0.9219 MB / 1.131 GB, free: 9.375 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007244/1.14, allocations: 267.5 kB / 1.131 GB, free: 9.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/1.14, allocations: 16.28 kB / 1.131 GB, free: 9.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/1.141, allocations: 68.28 kB / 1.131 GB, free: 9.227 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/1.141, allocations: 65.08 kB / 1.131 GB, free: 9.223 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/1.141, allocations: 29.28 kB / 1.131 GB, free: 9.223 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008639/1.142, allocations: 419.2 kB / 1.132 GB, free: 9.094 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.31e-07/1.142, allocations: 0 / 1.132 GB, free: 9.094 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001449/1.144, allocations: 271.4 kB / 1.132 GB, free: 9.039 MB / 0.698 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.005192/1.149, allocations: 1.923 MB / 1.134 GB, free: 8.047 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002785/1.152, allocations: 0.7413 MB / 1.134 GB, free: 7.824 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.152, allocations: 1.688 kB / 1.134 GB, free: 7.824 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001537/1.153, allocations: 493.5 kB / 1.135 GB, free: 7.641 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/1.155, allocations: 244.6 kB / 1.135 GB, free: 7.562 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/1.172, allocations: 5.528 MB / 1.14 GB, free: 4.613 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009359/1.173, allocations: 1.022 MB / 1.141 GB, free: 3.773 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001842/1.175, allocations: 259.5 kB / 1.142 GB, free: 3.641 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009305/1.176, allocations: 349.9 kB / 1.142 GB, free: 3.598 MB / 0.698 GB Notification: Performance of SimCode: time 1.142e-06/1.176, allocations: 0 / 1.142 GB, free: 3.598 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07458/1.25, allocations: 19.89 MB / 1.161 GB, free: 10 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004195/1.251, allocations: 265.1 kB / 1.162 GB, free: 9.648 MB / 0.7136 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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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