Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.Examples.Overhang.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 97.91 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001358, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.189/3.189, allocations: 205.4 MB / 222.1 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.391/2.391, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005653/0.0005655, allocations: 11.84 kB / 0.6736 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.351, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.006019/0.3571, allocations: 4.291 MB / 0.7914 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.9243/1.281, allocations: 127.7 MB / 0.9162 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001705/1.283, allocations: 20.44 kB / 0.9162 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000757/1.284, allocations: 84.7 kB / 0.9163 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003277/1.287, allocations: 0.5028 MB / 0.9167 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004353/1.292, allocations: 0.7127 MB / 0.9174 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003912/1.296, allocations: 1.059 MB / 0.9185 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002493/1.298, allocations: 0.7305 MB / 0.9192 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002078/1.3, allocations: 464 kB / 0.9196 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/1.302, allocations: 0.4907 MB / 0.9201 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002683/1.302, allocations: 34.56 kB / 0.9201 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/1.305, allocations: 383 kB / 0.9205 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000517/1.305, allocations: 254.5 kB / 0.9208 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001015/1.306, allocations: 255.6 kB / 0.921 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005024/1.311, allocations: 1.68 MB / 0.9226 GB, free: 21.33 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.311, allocations: 0 / 0.9226 GB, free: 21.33 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.519e-06/1.311, allocations: 0 / 0.9226 GB, free: 21.33 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.752e-05/1.311, allocations: 0 / 0.9226 GB, free: 21.33 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.006838/1.318, allocations: 1.491 MB / 0.9241 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.486e-05/1.318, allocations: 8.125 kB / 0.9241 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009845/1.319, allocations: 191 kB / 0.9243 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1819/1.501, allocations: 20.91 MB / 0.9447 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006432/1.508, allocations: 1.313 MB / 0.946 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004108/1.508, allocations: 102.8 kB / 0.9461 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00164/1.51, allocations: 124.1 kB / 0.9462 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07071/1.581, allocations: 9.591 MB / 0.9556 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.724e-05/1.581, allocations: 3.25 kB / 0.9556 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006391/1.582, allocations: 49.94 kB / 0.9556 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.938e-05/1.582, allocations: 36.48 kB / 0.9557 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1352/1.717, allocations: 17.4 MB / 0.9726 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05887/1.776, allocations: 12.06 MB / 0.9844 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04644/1.822, allocations: 9.883 MB / 0.9941 GB, free: 6.281 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009133/1.823, allocations: 0.605 MB / 0.9947 GB, free: 5.566 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0537/1.877, allocations: 8.628 MB / 1.003 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=103): time 5.46e-06/1.877, allocations: 0 / 1.003 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of matching and sorting (n=103): time 0.1304/2.007, allocations: 23.7 MB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002574/2.008, allocations: 192.9 kB / 1.026 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/2.01, allocations: 0.7479 MB / 1.027 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001539/2.012, allocations: 42.58 kB / 1.027 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/2.013, allocations: 0.5179 MB / 1.028 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001678/2.015, allocations: 341.4 kB / 1.028 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004135/2.015, allocations: 18.88 kB / 1.028 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0004554/2.016, allocations: 343.4 kB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06857/2.084, allocations: 8.18 MB / 1.036 GB, free: 15.84 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0438/2.128, allocations: 8.314 MB / 1.044 GB, free: 8.547 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05462/2.183, allocations: 7.135 MB / 1.051 GB, free: 2.195 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.397e-05/2.183, allocations: 0 / 1.051 GB, free: 2.195 MB / 0.795 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.09126/2.274, allocations: 15.75 MB / 1.067 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.783e-05/2.274, allocations: 8 kB / 1.067 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/2.274, allocations: 0 / 1.067 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006749/2.275, allocations: 94.5 kB / 1.067 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02635/2.301, allocations: 3.513 MB / 1.07 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003639/2.305, allocations: 1.549 MB / 1.072 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03352/2.339, allocations: 3.32 MB / 1.075 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001538/2.34, allocations: 96.25 kB / 1.075 GB, free: 11.89 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (117): * Single equations (assignments): 116 * 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.003363/2.344, allocations: 319.6 kB / 1.075 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001546/2.345, allocations: 98.78 kB / 1.076 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1014/2.447, allocations: 16.32 MB / 1.092 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.963e-05/2.447, allocations: 12 kB / 1.092 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/2.447, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.586e-05/2.447, allocations: 11.97 kB / 1.092 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1335/2.58, allocations: 19.15 MB / 1.11 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.264e-05/2.581, allocations: 0 / 1.11 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03638/2.617, allocations: 3.515 MB / 1.114 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000995/2.618, allocations: 84 kB / 1.114 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001067/2.619, allocations: 96.58 kB / 1.114 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003488/2.623, allocations: 1.571 MB / 1.115 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/2.623, allocations: 0 / 1.115 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09999/2.723, allocations: 15.73 MB / 1.131 GB, free: 9.695 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002569/2.725, allocations: 0.7966 MB / 1.132 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007456/2.726, allocations: 25.92 kB / 1.132 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0194/2.745, allocations: 3.268 MB / 1.135 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003511/2.746, allocations: 82.39 kB / 1.135 GB, free: 5.914 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000627/2.747, allocations: 95.5 kB / 1.135 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009471/2.747, allocations: 0.5325 MB / 1.135 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6.31e-07/2.748, allocations: 4 kB / 1.135 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002748/2.75, allocations: 0.6636 MB / 1.136 GB, free: 4.812 MB / 0.8731 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.07234/2.823, allocations: 16.77 MB / 1.152 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.07232/2.895, allocations: 16.65 MB / 1.169 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/2.895, allocations: 8 kB / 1.169 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.03647/2.932, allocations: 8.415 MB / 1.177 GB, free: 15.88 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/2.933, allocations: 276.4 kB / 1.177 GB, free: 15.68 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04328/2.977, allocations: 11.63 MB / 1.189 GB, free: 5.18 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008126/2.978, allocations: 1.18 MB / 1.19 GB, free: 3.98 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.004188/2.982, allocations: 0.7189 MB / 1.19 GB, free: 3.258 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002051/2.984, allocations: 0.6278 MB / 1.191 GB, free: 2.996 MB / 0.92 GB Notification: Performance of SimCode: time 1.342e-06/2.984, allocations: 0 / 1.191 GB, free: 2.996 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.828/4.812, allocations: 45.62 MB / 1.236 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000392/4.813, allocations: 257.4 kB / 1.236 GB, free: 5.391 MB / 0.9669 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_HeatTransfer_Windows_Examples_Overhang.o Buildings_8_Buildings_HeatTransfer_Windows_Examples_Overhang.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_Examples_Overhang.c:7: In file included from ./Buildings_8_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: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 -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.o Buildings_8_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c:2: In file included from ./Buildings_8_Buildings_HeatTransfer_Windows_Examples_Overhang_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_8_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c:7: In file included from ./Buildings_8_Buildings_HeatTransfer_Windows_Examples_Overhang_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.o] Error 1