Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.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.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",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.566/2.566, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001555/0.001555, allocations: 185.2 kB / 370.8 MB, free: 10.85 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.007/2.007, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001095/0.001095, allocations: 89.95 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.0004794, allocations: 11.59 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2117, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.571/6.782, allocations: 2.078 GB / 3.056 GB, free: 195.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/6.783, allocations: 94.44 kB / 3.056 GB, free: 195.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.3126/7.095, allocations: 84.07 MB / 3.138 GB, free: 120.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.906e-06/7.095, allocations: 3.938 kB / 3.138 GB, free: 120.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.464e-05/7.095, allocations: 35.94 kB / 3.138 GB, free: 120.5 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.003727/7.099, allocations: 1.453 MB / 3.14 GB, free: 119 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/7.099, allocations: 12.02 kB / 3.14 GB, free: 119 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002986/7.1, allocations: 177.2 kB / 3.14 GB, free: 118.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1483/7.248, allocations: 14.25 MB / 3.154 GB, free: 104.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003324/7.251, allocations: 1.039 MB / 3.155 GB, free: 103.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/7.251, allocations: 90.28 kB / 3.155 GB, free: 103.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007174/7.252, allocations: 112 kB / 3.155 GB, free: 103.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06663/7.319, allocations: 8.862 MB / 3.164 GB, free: 94.31 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.667e-05/7.319, allocations: 4 kB / 3.164 GB, free: 94.31 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004804/7.319, allocations: 51.95 kB / 3.164 GB, free: 94.26 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/7.32, allocations: 28 kB / 3.164 GB, free: 94.23 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.13/7.449, allocations: 16.17 MB / 3.18 GB, free: 78.04 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07158/7.521, allocations: 10.09 MB / 3.189 GB, free: 67.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07552/7.597, allocations: 9.186 MB / 3.198 GB, free: 58.65 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006296/7.597, allocations: 0.6022 MB / 3.199 GB, free: 57.92 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06418/7.662, allocations: 8.003 MB / 3.207 GB, free: 49.89 MB / 0.948 GB Notification: Performance of pre-optimization done (n=101): time 5.401e-06/7.662, allocations: 0 / 3.207 GB, free: 49.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=101): time 0.1893/7.851, allocations: 22.04 MB / 3.228 GB, free: 27.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.627e-05/7.851, allocations: 252.3 kB / 3.229 GB, free: 27.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/7.852, allocations: 0.6795 MB / 3.229 GB, free: 26.81 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006464/7.853, allocations: 41.7 kB / 3.229 GB, free: 26.76 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004326/7.854, allocations: 472.3 kB / 3.23 GB, free: 26.29 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006671/7.854, allocations: 335.1 kB / 3.23 GB, free: 25.96 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005032/7.855, allocations: 20 kB / 3.23 GB, free: 25.94 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001506/7.855, allocations: 394.7 kB / 3.23 GB, free: 25.55 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06299/7.918, allocations: 7.607 MB / 3.238 GB, free: 17.93 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06355/7.982, allocations: 7.735 MB / 3.245 GB, free: 10.16 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0591/8.041, allocations: 6.703 MB / 3.252 GB, free: 3.445 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/8.041, allocations: 0 / 3.252 GB, free: 3.445 MB / 0.948 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.8312/8.872, allocations: 14.72 MB / 3.266 GB, free: 304 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/8.872, allocations: 6.062 kB / 3.266 GB, free: 304 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/8.872, allocations: 1.375 kB / 3.266 GB, free: 304 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/8.873, allocations: 87.67 kB / 3.266 GB, free: 303.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03596/8.909, allocations: 3.321 MB / 3.27 GB, free: 303.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002795/8.912, allocations: 1.527 MB / 3.271 GB, free: 302.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03462/8.947, allocations: 3.117 MB / 3.274 GB, free: 302.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007725/8.947, allocations: 96.75 kB / 3.274 GB, free: 302.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (114): * Single equations (assignments): 113 * 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.001448/8.949, allocations: 298.8 kB / 3.275 GB, free: 302.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006232/8.95, allocations: 97.06 kB / 3.275 GB, free: 302.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1305/9.08, allocations: 15.21 MB / 3.29 GB, free: 301.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/9.08, allocations: 19.62 kB / 3.29 GB, free: 301.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/9.08, allocations: 0 / 3.29 GB, free: 301.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.25e-05/9.08, allocations: 11.41 kB / 3.29 GB, free: 301.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1306/9.211, allocations: 17.15 MB / 3.306 GB, free: 300.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/9.211, allocations: 6.156 kB / 3.306 GB, free: 300.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03441/9.245, allocations: 3.323 MB / 3.31 GB, free: 300.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008985/9.246, allocations: 87.59 kB / 3.31 GB, free: 300.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007316/9.247, allocations: 79.91 kB / 3.31 GB, free: 300.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00243/9.249, allocations: 1.567 MB / 3.311 GB, free: 299 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/9.249, allocations: 0 / 3.311 GB, free: 299 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1258/9.375, allocations: 14.66 MB / 3.326 GB, free: 298.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002332/9.378, allocations: 0.6353 MB / 3.326 GB, free: 298 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007523/9.379, allocations: 27.31 kB / 3.326 GB, free: 298 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03335/9.412, allocations: 3.08 MB / 3.329 GB, free: 297.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003617/9.412, allocations: 89.58 kB / 3.329 GB, free: 297.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006061/9.413, allocations: 100.3 kB / 3.329 GB, free: 297.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001133/9.414, allocations: 0.5484 MB / 3.33 GB, free: 297.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.184e-06/9.414, allocations: 0 / 3.33 GB, free: 297.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003409/9.418, allocations: 0.6913 MB / 3.331 GB, free: 297.8 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 (121): * Single equations (assignments): 118 * 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.1289/9.546, allocations: 16.19 MB / 3.346 GB, free: 284.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.1293/9.676, allocations: 15.48 MB / 3.362 GB, free: 269.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/9.676, allocations: 0 / 3.362 GB, free: 269.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.06846/9.744, allocations: 7.817 MB / 3.369 GB, free: 261.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/9.747, allocations: 257.2 kB / 3.369 GB, free: 261.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07947/9.827, allocations: 10.77 MB / 3.38 GB, free: 250.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006901/9.828, allocations: 1.143 MB / 3.381 GB, free: 249.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006286/9.834, allocations: 0.6807 MB / 3.382 GB, free: 248.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003345/9.837, allocations: 0.5732 MB / 3.382 GB, free: 248 MB / 0.948 GB Notification: Performance of SimCode: time 2.004e-06/9.837, allocations: 4 kB / 3.382 GB, free: 248 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/9.953, allocations: 49.57 MB / 3.431 GB, free: 199.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002723/9.954, allocations: 274.3 kB / 3.431 GB, free: 198.7 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_HeatTransfer_Windows_BaseClasses_Examples_Overhang.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_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_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_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_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_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_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.o' failed make: *** [Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.o] Error 1