Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.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.Examples.Overhang,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_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.625/2.625, allocations: 287.3 MB / 302.3 MB, free: 8.227 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.001491/0.001491, allocations: 176.2 kB / 370.8 MB, free: 10.87 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.116/2.116, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001123/0.001123, allocations: 94.36 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004879, allocations: 12.28 kB / 0.8657 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2408, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.594/6.835, allocations: 2.079 GB / 3.057 GB, free: 195.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/6.836, allocations: 90.45 kB / 3.058 GB, free: 195.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2944/7.13, allocations: 79.33 MB / 3.135 GB, free: 124.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.855e-06/7.13, allocations: 0 / 3.135 GB, free: 124.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000124/7.13, allocations: 32 kB / 3.135 GB, free: 124.7 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004485/7.135, allocations: 1.468 MB / 3.136 GB, free: 123.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/7.135, allocations: 16.02 kB / 3.136 GB, free: 123.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005952/7.135, allocations: 177.1 kB / 3.137 GB, free: 123 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1494/7.285, allocations: 14.25 MB / 3.151 GB, free: 108.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003614/7.288, allocations: 1.176 MB / 3.152 GB, free: 107.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/7.289, allocations: 90.23 kB / 3.152 GB, free: 107.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007941/7.289, allocations: 112 kB / 3.152 GB, free: 107.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06766/7.357, allocations: 9.08 MB / 3.161 GB, free: 98.16 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.544e-05/7.357, allocations: 3.938 kB / 3.161 GB, free: 98.15 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005461/7.358, allocations: 55.89 kB / 3.161 GB, free: 98.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/7.358, allocations: 24 kB / 3.161 GB, free: 98.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1321/7.49, allocations: 16.63 MB / 3.177 GB, free: 81.42 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07617/7.566, allocations: 11.17 MB / 3.188 GB, free: 70.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07661/7.643, allocations: 9.552 MB / 3.197 GB, free: 60.58 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006423/7.644, allocations: 0.5983 MB / 3.198 GB, free: 59.86 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06508/7.709, allocations: 8.265 MB / 3.206 GB, free: 51.56 MB / 0.948 GB Notification: Performance of pre-optimization done (n=103): time 5.411e-06/7.709, allocations: 4 kB / 3.206 GB, free: 51.56 MB / 0.948 GB Notification: Performance of matching and sorting (n=103): time 0.1969/7.906, allocations: 22.74 MB / 3.228 GB, free: 28.76 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.183e-05/7.906, allocations: 248.3 kB / 3.228 GB, free: 28.46 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/7.907, allocations: 0.6992 MB / 3.229 GB, free: 27.76 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007558/7.908, allocations: 49.7 kB / 3.229 GB, free: 27.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004378/7.908, allocations: 480.4 kB / 3.23 GB, free: 27.23 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007446/7.909, allocations: 339 kB / 3.23 GB, free: 26.89 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005569/7.91, allocations: 20 kB / 3.23 GB, free: 26.87 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.086e-05/7.91, allocations: 341.9 kB / 3.23 GB, free: 26.53 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06379/7.974, allocations: 7.833 MB / 3.238 GB, free: 18.69 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06419/8.038, allocations: 7.969 MB / 3.246 GB, free: 10.68 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0595/8.097, allocations: 6.839 MB / 3.252 GB, free: 3.832 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/8.098, allocations: 0 / 3.252 GB, free: 3.832 MB / 0.948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.8599/8.958, allocations: 15.08 MB / 3.267 GB, free: 303.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/8.958, allocations: 9.734 kB / 3.267 GB, free: 303.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/8.958, allocations: 1.375 kB / 3.267 GB, free: 303.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/8.959, allocations: 87.11 kB / 3.267 GB, free: 303.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03653/8.995, allocations: 3.323 MB / 3.27 GB, free: 303.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002825/8.998, allocations: 1.539 MB / 3.272 GB, free: 302.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03486/9.033, allocations: 3.124 MB / 3.275 GB, free: 301.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007648/9.034, allocations: 92.81 kB / 3.275 GB, free: 301.9 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 (116): * Single equations (assignments): 115 * 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.00159/9.035, allocations: 307.9 kB / 3.275 GB, free: 301.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000681/9.036, allocations: 99.84 kB / 3.275 GB, free: 301.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1328/9.169, allocations: 15.65 MB / 3.291 GB, free: 301 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/9.169, allocations: 11.25 kB / 3.291 GB, free: 301 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/9.169, allocations: 0.6875 kB / 3.291 GB, free: 301 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.994e-05/9.169, allocations: 11.08 kB / 3.291 GB, free: 301 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1355/9.305, allocations: 18.31 MB / 3.309 GB, free: 300 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/9.305, allocations: 3.609 kB / 3.309 GB, free: 300 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03489/9.34, allocations: 3.323 MB / 3.312 GB, free: 299.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008834/9.341, allocations: 84.84 kB / 3.312 GB, free: 299.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006641/9.341, allocations: 89.23 kB / 3.312 GB, free: 299.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/9.344, allocations: 1.57 MB / 3.314 GB, free: 298.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.604e-06/9.344, allocations: 0 / 3.314 GB, free: 298.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1266/9.47, allocations: 15.09 MB / 3.328 GB, free: 297.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002441/9.473, allocations: 0.7621 MB / 3.329 GB, free: 297.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008115/9.474, allocations: 28.03 kB / 3.329 GB, free: 297.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03337/9.507, allocations: 3.081 MB / 3.332 GB, free: 297.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003335/9.507, allocations: 90.64 kB / 3.332 GB, free: 297.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005875/9.508, allocations: 90.83 kB / 3.332 GB, free: 297.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001164/9.509, allocations: 0.5741 MB / 3.333 GB, free: 297.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/9.509, allocations: 4 kB / 3.333 GB, free: 297.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003556/9.513, allocations: 0.701 MB / 3.334 GB, free: 297.3 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 (123): * Single equations (assignments): 120 * 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.1299/9.643, allocations: 16.62 MB / 3.35 GB, free: 281.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.1301/9.773, allocations: 15.96 MB / 3.365 GB, free: 266 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/9.773, allocations: 8 kB / 3.365 GB, free: 266 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.06573/9.839, allocations: 8.086 MB / 3.373 GB, free: 257.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/9.841, allocations: 265.7 kB / 3.374 GB, free: 257.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07337/9.915, allocations: 11.07 MB / 3.384 GB, free: 246.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007235/9.915, allocations: 1.151 MB / 3.385 GB, free: 245.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00656/9.922, allocations: 0.6864 MB / 3.386 GB, free: 244.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003651/9.926, allocations: 0.5888 MB / 3.387 GB, free: 244.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.262e-06/9.926, allocations: 0 / 3.387 GB, free: 244.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1492/10.07, allocations: 52.56 MB / 3.438 GB, free: 192.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002749/10.08, allocations: 248.3 kB / 3.438 GB, free: 191.9 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_Examples_Overhang.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_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_Examples_Overhang_functions.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_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_Examples_Overhang_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_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_Examples_Overhang_functions.o' failed make: *** [Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.o] Error 1