Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.151/2.151, allocations: 248.5 MB / 261.1 MB, free: 5.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 181.7 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.2 MB / 0.571 GB, free: 11.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001156, allocations: 105.1 kB / 0.6754 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.315e-05/3.329e-05, allocations: 0 / 0.7869 GB, free: 97.84 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2004, allocations: 106.2 MB / 0.8907 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.115/7.316, allocations: 2.189 GB / 3.08 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/7.316, allocations: 83.95 kB / 3.08 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2097/7.526, allocations: 56.6 MB / 3.135 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.695e-06/7.526, allocations: 4 kB / 3.135 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.945e-05/7.526, allocations: 23.94 kB / 3.136 GB, free: 113.1 MB / 0.8698 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.002332/7.528, allocations: 1.058 MB / 3.137 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/7.528, allocations: 8.031 kB / 3.137 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002098/7.529, allocations: 131 kB / 3.137 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/7.531, allocations: 234.5 kB / 3.137 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/7.532, allocations: 0.6191 MB / 3.138 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.566e-05/7.532, allocations: 62 kB / 3.138 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/7.533, allocations: 80 kB / 3.138 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/7.535, allocations: 0.8625 MB / 3.138 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/7.535, allocations: 0 / 3.138 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/7.535, allocations: 43.89 kB / 3.139 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/7.535, allocations: 20 kB / 3.139 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/7.537, allocations: 1.046 MB / 3.14 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005832/7.543, allocations: 2.677 MB / 3.142 GB, free: 106 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/7.545, allocations: 0.8096 MB / 3.143 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006469/7.546, allocations: 271.1 kB / 3.143 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/7.546, allocations: 36.77 kB / 3.143 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008858/7.547, allocations: 409.4 kB / 3.144 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=74): time 3.306e-06/7.547, allocations: 3.938 kB / 3.144 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74): time 0.002596/7.549, allocations: 0.6953 MB / 3.144 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.646e-05/7.549, allocations: 240.1 kB / 3.145 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/7.551, allocations: 0.5659 MB / 3.145 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001845/7.551, allocations: 41.7 kB / 3.145 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/7.551, allocations: 384.2 kB / 3.146 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/7.551, allocations: 248.3 kB / 3.146 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/7.552, allocations: 16 kB / 3.146 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001372/7.552, allocations: 374.8 kB / 3.146 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005779/7.552, allocations: 205.5 kB / 3.146 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006765/7.553, allocations: 331.6 kB / 3.147 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006757/7.554, allocations: 258 kB / 3.147 GB, free: 101 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/7.554, allocations: 0 / 3.147 GB, free: 101 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00249/7.556, allocations: 0.7109 MB / 3.148 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/7.556, allocations: 4 kB / 3.148 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/7.556, allocations: 0 / 3.148 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009759/7.557, allocations: 88.89 kB / 3.148 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/7.558, allocations: 139.8 kB / 3.148 GB, free: 100 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/7.561, allocations: 1.512 MB / 3.149 GB, free: 98.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/7.562, allocations: 87.3 kB / 3.149 GB, free: 98.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/7.562, allocations: 27.98 kB / 3.149 GB, free: 98.27 MB / 0.8698 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.0002631/7.563, allocations: 149.1 kB / 3.15 GB, free: 98.12 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/7.563, allocations: 75.06 kB / 3.15 GB, free: 98.04 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003346/7.566, allocations: 0.9619 MB / 3.151 GB, free: 97.07 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/7.566, allocations: 8 kB / 3.151 GB, free: 97.06 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/7.566, allocations: 4 kB / 3.151 GB, free: 97.06 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/7.566, allocations: 3.984 kB / 3.151 GB, free: 97.05 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004843/7.571, allocations: 1.917 MB / 3.152 GB, free: 95.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/7.571, allocations: 4 kB / 3.152 GB, free: 95.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/7.572, allocations: 143.8 kB / 3.153 GB, free: 94.92 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008253/7.573, allocations: 80.78 kB / 3.153 GB, free: 94.84 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.435e-05/7.573, allocations: 23.98 kB / 3.153 GB, free: 94.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/7.576, allocations: 1.548 MB / 3.154 GB, free: 93.12 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/7.576, allocations: 0 / 3.154 GB, free: 93.12 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002839/7.578, allocations: 0.8728 MB / 3.155 GB, free: 92.23 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005474/7.579, allocations: 279.7 kB / 3.155 GB, free: 91.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/7.579, allocations: 23.94 kB / 3.155 GB, free: 91.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/7.58, allocations: 75.83 kB / 3.155 GB, free: 91.84 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/7.581, allocations: 60.69 kB / 3.155 GB, free: 91.79 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.964e-05/7.581, allocations: 31.98 kB / 3.155 GB, free: 91.75 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007964/7.581, allocations: 463.2 kB / 3.156 GB, free: 91.31 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.61e-07/7.581, allocations: 0 / 3.156 GB, free: 91.31 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001405/7.583, allocations: 339.2 kB / 3.156 GB, free: 90.98 MB / 0.8698 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.004777/7.588, allocations: 2.299 MB / 3.158 GB, free: 88.79 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002014/7.59, allocations: 0.6905 MB / 3.159 GB, free: 88.09 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/7.59, allocations: 4 kB / 3.159 GB, free: 88.09 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/7.591, allocations: 478.8 kB / 3.16 GB, free: 87.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/7.593, allocations: 247.3 kB / 3.16 GB, free: 87.36 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005848/7.599, allocations: 1.532 MB / 3.161 GB, free: 85.79 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/7.599, allocations: 1.019 MB / 3.162 GB, free: 84.75 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001378/7.601, allocations: 262.1 kB / 3.163 GB, free: 84.48 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006938/7.602, allocations: 359.2 kB / 3.163 GB, free: 84.13 MB / 0.8698 GB Notification: Performance of SimCode: time 1.463e-06/7.602, allocations: 0 / 3.163 GB, free: 84.13 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08911/7.691, allocations: 30.92 MB / 3.193 GB, free: 53.41 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/7.691, allocations: 237 kB / 3.193 GB, free: 53.09 MB / 0.8698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 7.0.1/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: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 -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 7.0.1/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: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_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: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_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