Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01011/0.01012, allocations: 89.89 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001207/0.001207, allocations: 177.5 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.019/2.019, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.602/2.602, allocations: 252.8 MB / 0.511 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004738, allocations: 10.66 kB / 0.6243 GB, free: 28.4 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2246, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00651/0.2312, allocations: 3.53 MB / 0.7315 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.926/1.157, allocations: 127.2 MB / 0.8558 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007773/1.158, allocations: 15.22 kB / 0.8558 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.0003871/1.158, allocations: 75.56 kB / 0.8558 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.002141/1.161, allocations: 434.6 kB / 0.8563 GB, free: 5.184 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.00268/1.163, allocations: 0.5938 MB / 0.8568 GB, free: 5.168 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.001884/1.165, allocations: 0.7524 MB / 0.8576 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009493/1.166, allocations: 474.2 kB / 0.858 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008551/1.167, allocations: 305.2 kB / 0.8583 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005906/1.168, allocations: 300 kB / 0.8586 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/1.168, allocations: 23.47 kB / 0.8586 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009762/1.169, allocations: 241.7 kB / 0.8589 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002565/1.169, allocations: 162 kB / 0.859 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005028/1.17, allocations: 183.5 kB / 0.8592 GB, free: 21.05 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002248/1.172, allocations: 1.023 MB / 0.8602 GB, free: 20.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/1.172, allocations: 0 / 0.8602 GB, free: 20.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.775e-06/1.172, allocations: 4 kB / 0.8602 GB, free: 20.97 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.574e-05/1.172, allocations: 0 / 0.8602 GB, free: 20.97 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.003119/1.175, allocations: 1.131 MB / 0.8613 GB, free: 20.27 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/1.175, allocations: 9.625 kB / 0.8613 GB, free: 20.27 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002903/1.175, allocations: 133.1 kB / 0.8614 GB, free: 20.23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/1.177, allocations: 248.6 kB / 0.8617 GB, free: 20.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/1.179, allocations: 0.6786 MB / 0.8623 GB, free: 19.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.58e-05/1.179, allocations: 60.44 kB / 0.8624 GB, free: 19.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/1.179, allocations: 78.22 kB / 0.8625 GB, free: 19.89 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/1.182, allocations: 0.9072 MB / 0.8633 GB, free: 19.71 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/1.182, allocations: 7 kB / 0.8634 GB, free: 19.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/1.183, allocations: 37.7 kB / 0.8634 GB, free: 19.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/1.183, allocations: 20.11 kB / 0.8634 GB, free: 19.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003299/1.186, allocations: 1.115 MB / 0.8645 GB, free: 19.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006683/1.193, allocations: 2.694 MB / 0.8671 GB, free: 18.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/1.195, allocations: 0.8725 MB / 0.868 GB, free: 18.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/1.195, allocations: 32.94 kB / 0.868 GB, free: 18.52 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001225/1.197, allocations: 432.5 kB / 0.8684 GB, free: 18.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=74): time 3.266e-06/1.197, allocations: 0 / 0.8684 GB, free: 18.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74): time 0.005106/1.202, allocations: 1.091 MB / 0.8695 GB, free: 18.24 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/1.202, allocations: 190 kB / 0.8697 GB, free: 18.02 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/1.203, allocations: 0.5707 MB / 0.8702 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001928/1.203, allocations: 45.95 kB / 0.8703 GB, free: 17.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00038/1.204, allocations: 389.3 kB / 0.8706 GB, free: 17.67 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/1.204, allocations: 240.4 kB / 0.8709 GB, free: 17.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/1.204, allocations: 16.69 kB / 0.8709 GB, free: 17.52 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001946/1.204, allocations: 376.3 kB / 0.8712 GB, free: 17.21 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008298/1.205, allocations: 220.2 kB / 0.8715 GB, free: 17.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009111/1.206, allocations: 339.3 kB / 0.8718 GB, free: 17.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008693/1.207, allocations: 278.5 kB / 0.872 GB, free: 17.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/1.207, allocations: 1.719 kB / 0.872 GB, free: 17.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002988/1.21, allocations: 0.7496 MB / 0.8728 GB, free: 16.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/1.21, allocations: 5.125 kB / 0.8728 GB, free: 16.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/1.21, allocations: 3.594 kB / 0.8728 GB, free: 16.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000966/1.211, allocations: 86.52 kB / 0.8729 GB, free: 16.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/1.212, allocations: 142.9 kB / 0.873 GB, free: 16.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002969/1.215, allocations: 1.533 MB / 0.8745 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/1.217, allocations: 93.5 kB / 0.8746 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/1.217, allocations: 29.92 kB / 0.8746 GB, free: 15.64 MB / 0.6823 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.0007348/1.217, allocations: 248.4 kB / 0.8749 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/1.218, allocations: 78.17 kB / 0.8749 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004042/1.222, allocations: 1.003 MB / 0.8759 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/1.222, allocations: 8.656 kB / 0.8759 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.222, allocations: 0.5312 kB / 0.8759 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/1.222, allocations: 8.219 kB / 0.8759 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005328/1.227, allocations: 1.916 MB / 0.8778 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/1.227, allocations: 0.8438 kB / 0.8778 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/1.228, allocations: 146.7 kB / 0.8779 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008679/1.229, allocations: 86.02 kB / 0.878 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/1.229, allocations: 23.41 kB / 0.878 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002675/1.232, allocations: 1.561 MB / 0.8796 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.232, allocations: 4 kB / 0.8796 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/1.235, allocations: 0.9224 MB / 0.8805 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000591/1.236, allocations: 264.2 kB / 0.8807 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/1.236, allocations: 15.38 kB / 0.8807 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/1.237, allocations: 78.73 kB / 0.8808 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/1.237, allocations: 59 kB / 0.8809 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/1.237, allocations: 34.72 kB / 0.8809 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008083/1.238, allocations: 414 kB / 0.8813 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/1.238, allocations: 0 / 0.8813 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001222/1.239, allocations: 270.8 kB / 0.8816 GB, free: 13.1 MB / 0.6823 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.004808/1.244, allocations: 1.943 MB / 0.8835 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00242/1.247, allocations: 0.7394 MB / 0.8842 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.247, allocations: 1.094 kB / 0.8842 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/1.248, allocations: 487.9 kB / 0.8846 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/1.25, allocations: 246.5 kB / 0.8849 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/1.266, allocations: 5.535 MB / 0.8903 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/1.266, allocations: 1.027 MB / 0.8913 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001566/1.268, allocations: 260.4 kB / 0.8915 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007562/1.269, allocations: 351.2 kB / 0.8919 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of SimCode: time 1.363e-06/1.269, allocations: 3.281 kB / 0.8919 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08554/1.354, allocations: 19.87 MB / 0.9113 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004237/1.355, allocations: 278.1 kB / 0.9115 GB, free: 212 kB / 0.6823 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.o Buildings_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.c:7: In file included from ./Buildings_7_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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.c:2: In file included from ./Buildings_7_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_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/getTimeSpan.h:11:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.o] Error 1