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.179/2.179, allocations: 251 MB / 265.9 MB, free: 11.71 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001565, allocations: 172.8 kB / 325.5 MB, free: 2.922 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.461/2.461, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.001174/0.001173, allocations: 93.36 kB / 0.6809 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004988/0.0004989, allocations: 16.27 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2286, allocations: 106.3 MB / 0.8988 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.405/7.633, allocations: 2.19 GB / 3.088 GB, free: 247.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/7.634, allocations: 90.92 kB / 3.088 GB, free: 247.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2133/7.847, allocations: 56.91 MB / 3.144 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.755e-06/7.847, allocations: 0 / 3.144 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001092/7.847, allocations: 27.34 kB / 3.144 GB, free: 242.7 MB / 0.8855 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.002901/7.85, allocations: 1.167 MB / 3.145 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/7.85, allocations: 11.62 kB / 3.145 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002541/7.851, allocations: 129 kB / 3.145 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/7.852, allocations: 235.4 kB / 3.146 GB, free: 241.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/7.854, allocations: 0.621 MB / 3.146 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.855e-05/7.854, allocations: 61.78 kB / 3.146 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/7.854, allocations: 79.06 kB / 3.146 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/7.856, allocations: 0.9055 MB / 3.147 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/7.856, allocations: 0 / 3.147 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/7.856, allocations: 41.08 kB / 3.147 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/7.856, allocations: 19.53 kB / 3.147 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002831/7.859, allocations: 1.133 MB / 3.148 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006101/7.865, allocations: 2.676 MB / 3.151 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/7.868, allocations: 0.8801 MB / 3.152 GB, free: 240 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/7.868, allocations: 31.61 kB / 3.152 GB, free: 240 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/7.869, allocations: 433.4 kB / 3.152 GB, free: 240 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=74): time 3.807e-06/7.869, allocations: 0 / 3.152 GB, free: 240 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74): time 0.004814/7.874, allocations: 1.108 MB / 3.153 GB, free: 239.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.221e-05/7.874, allocations: 245.7 kB / 3.154 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/7.876, allocations: 0.5702 MB / 3.154 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001811/7.876, allocations: 39.23 kB / 3.154 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003553/7.876, allocations: 385.4 kB / 3.154 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/7.876, allocations: 241.6 kB / 3.155 GB, free: 239 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-05/7.876, allocations: 9.375 kB / 3.155 GB, free: 239 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001325/7.877, allocations: 380.5 kB / 3.155 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007278/7.877, allocations: 223.3 kB / 3.155 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008095/7.878, allocations: 351.8 kB / 3.156 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007795/7.879, allocations: 276.5 kB / 3.156 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/7.879, allocations: 3.953 kB / 3.156 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002828/7.882, allocations: 0.7427 MB / 3.157 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/7.882, allocations: 9.688 kB / 3.157 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/7.882, allocations: 0 / 3.157 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009682/7.883, allocations: 90 kB / 3.157 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/7.884, allocations: 147.7 kB / 3.157 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/7.887, allocations: 1.528 MB / 3.158 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/7.888, allocations: 92.58 kB / 3.158 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/7.888, allocations: 38.45 kB / 3.158 GB, free: 237 MB / 0.8855 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.00068/7.889, allocations: 251.7 kB / 3.159 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/7.889, allocations: 74.38 kB / 3.159 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003749/7.893, allocations: 1.004 MB / 3.16 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/7.893, allocations: 11.77 kB / 3.16 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/7.893, allocations: 7.844 kB / 3.16 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.968e-05/7.893, allocations: 7.797 kB / 3.16 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005748/7.899, allocations: 1.961 MB / 3.162 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/7.899, allocations: 0 / 3.162 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/7.9, allocations: 144.4 kB / 3.162 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00084/7.901, allocations: 87.27 kB / 3.162 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/7.901, allocations: 21.67 kB / 3.162 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/7.903, allocations: 1.558 MB / 3.163 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/7.903, allocations: 0 / 3.163 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003626/7.907, allocations: 0.9278 MB / 3.164 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007419/7.908, allocations: 282.8 kB / 3.165 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/7.908, allocations: 14.66 kB / 3.165 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/7.909, allocations: 74.56 kB / 3.165 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/7.909, allocations: 53.58 kB / 3.165 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.942e-05/7.909, allocations: 36.86 kB / 3.165 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008669/7.91, allocations: 471.6 kB / 3.165 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.175e-06/7.91, allocations: 0 / 3.165 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001503/7.912, allocations: 335.4 kB / 3.166 GB, free: 234.4 MB / 0.8855 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.005434/7.917, allocations: 2.389 MB / 3.168 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002449/7.92, allocations: 0.7395 MB / 3.169 GB, free: 233.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/7.92, allocations: 320 / 3.169 GB, free: 233.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/7.921, allocations: 0.4895 MB / 3.169 GB, free: 233 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/7.923, allocations: 247.8 kB / 3.169 GB, free: 233 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01326/7.936, allocations: 5.45 MB / 3.175 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/7.937, allocations: 1.023 MB / 3.176 GB, free: 230 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001573/7.939, allocations: 257.2 kB / 3.176 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007817/7.94, allocations: 356.2 kB / 3.176 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.363e-06/7.94, allocations: 0 / 3.176 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08083/8.02, allocations: 29.23 MB / 3.205 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/8.021, allocations: 265.7 kB / 3.205 GB, free: 215.3 MB / 0.8855 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 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: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 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: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_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