Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.Overhang.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01393/0.01393, allocations: 89.09 kB / 15.04 MB, free: 6.059 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001787/0.001786, allocations: 171.1 kB / 15.92 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.232/2.232, allocations: 205.5 MB / 222.2 MB, free: 13.72 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.475/2.475, allocations: 252.8 MB / 0.511 GB, free: 8.328 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.0004973, allocations: 17.28 kB / 0.6243 GB, free: 28.4 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2395, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.008203/0.2478, allocations: 4.294 MB / 0.7322 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.8417/1.09, allocations: 127.7 MB / 0.8569 GB, free: 5 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009989/1.091, allocations: 16.97 kB / 0.857 GB, free: 5 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.0004444/1.091, allocations: 92.05 kB / 0.8571 GB, free: 5 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.002399/1.093, allocations: 0.4941 MB / 0.8575 GB, free: 4.988 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003121/1.097, allocations: 0.7096 MB / 0.8582 GB, free: 4.973 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.002671/1.099, allocations: 1.067 MB / 0.8593 GB, free: 4.965 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/1.101, allocations: 0.731 MB / 0.86 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/1.102, allocations: 469.2 kB / 0.8604 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000945/1.103, allocations: 495.7 kB / 0.8609 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001922/1.103, allocations: 35.12 kB / 0.8609 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/1.104, allocations: 363.8 kB / 0.8613 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0004043/1.105, allocations: 259.5 kB / 0.8615 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006127/1.106, allocations: 258.5 kB / 0.8618 GB, free: 20.81 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003502/1.109, allocations: 1.671 MB / 0.8634 GB, free: 20.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.109, allocations: 0 / 0.8634 GB, free: 20.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.625e-06/1.109, allocations: 0 / 0.8634 GB, free: 20.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.328e-05/1.109, allocations: 0 / 0.8634 GB, free: 20.7 MB / 0.6823 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.005434/1.115, allocations: 1.503 MB / 0.8649 GB, free: 19.84 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/1.115, allocations: 9.5 kB / 0.8649 GB, free: 19.84 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006138/1.115, allocations: 187.7 kB / 0.8651 GB, free: 19.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2277/1.343, allocations: 20.92 MB / 0.8855 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004123/1.347, allocations: 1.312 MB / 0.8868 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005087/1.348, allocations: 189.2 kB / 0.887 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/1.349, allocations: 126.5 kB / 0.8871 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0736/1.423, allocations: 9.613 MB / 0.8965 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-05/1.423, allocations: 3.953 kB / 0.8965 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006258/1.423, allocations: 52.38 kB / 0.8965 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/1.423, allocations: 30.44 kB / 0.8965 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1439/1.567, allocations: 17.44 MB / 0.9136 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08672/1.654, allocations: 12.09 MB / 0.9254 GB, free: 11.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08495/1.739, allocations: 9.914 MB / 0.9351 GB, free: 2.629 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008962/1.74, allocations: 0.5995 MB / 0.9357 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.07175/1.812, allocations: 8.659 MB / 0.9441 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=103): time 3.927e-06/1.812, allocations: 0 / 0.9441 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=103): time 0.2097/2.022, allocations: 23.76 MB / 0.9673 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/2.022, allocations: 196.3 kB / 0.9675 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/2.023, allocations: 0.7384 MB / 0.9682 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0008256/2.024, allocations: 44.58 kB / 0.9683 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005501/2.025, allocations: 0.5178 MB / 0.9688 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009349/2.026, allocations: 343.5 kB / 0.9691 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005053/2.026, allocations: 18.62 kB / 0.9691 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001576/2.026, allocations: 341.2 kB / 0.9694 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0704/2.097, allocations: 8.199 MB / 0.9774 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07069/2.167, allocations: 8.331 MB / 0.9856 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06533/2.233, allocations: 7.158 MB / 0.9926 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/2.233, allocations: 2.906 kB / 0.9926 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.14/2.373, allocations: 15.79 MB / 1.008 GB, free: 468 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/2.373, allocations: 8 kB / 1.008 GB, free: 460 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/2.373, allocations: 0 / 1.008 GB, free: 460 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009995/2.374, allocations: 83.36 kB / 1.008 GB, free: 380 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03947/2.414, allocations: 3.529 MB / 1.012 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003264/2.417, allocations: 1.548 MB / 1.013 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0379/2.455, allocations: 3.315 MB / 1.016 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009549/2.456, allocations: 101.6 kB / 1.016 GB, free: 8.062 MB / 0.7761 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.001907/2.458, allocations: 318.5 kB / 1.017 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008244/2.459, allocations: 100.6 kB / 1.017 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1631/2.622, allocations: 16.37 MB / 1.033 GB, free: 9.176 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-05/2.622, allocations: 18.91 kB / 1.033 GB, free: 9.16 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/2.622, allocations: 0 / 1.033 GB, free: 9.16 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-05/2.622, allocations: 3.984 kB / 1.033 GB, free: 9.156 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1486/2.77, allocations: 19.2 MB / 1.052 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/2.77, allocations: 0 / 1.052 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03936/2.81, allocations: 3.527 MB / 1.055 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009542/2.811, allocations: 82.34 kB / 1.055 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008599/2.812, allocations: 90.48 kB / 1.055 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002943/2.815, allocations: 1.572 MB / 1.057 GB, free: 3.812 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/2.815, allocations: 4.062 kB / 1.057 GB, free: 3.809 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1391/2.954, allocations: 15.77 MB / 1.072 GB, free: 5.734 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002823/2.957, allocations: 0.7859 MB / 1.073 GB, free: 5.234 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/2.958, allocations: 21.25 kB / 1.073 GB, free: 5.23 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03754/2.995, allocations: 3.284 MB / 1.076 GB, free: 2.023 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003865/2.996, allocations: 80.69 kB / 1.076 GB, free: 1.949 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007832/2.997, allocations: 103.6 kB / 1.076 GB, free: 1.859 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001247/2.998, allocations: 0.5316 MB / 1.077 GB, free: 1.469 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.41e-07/2.998, allocations: 0 / 1.077 GB, free: 1.469 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003695/3.002, allocations: 0.6659 MB / 1.077 GB, free: 0.8438 MB / 0.823 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.1413/3.143, allocations: 16.82 MB / 1.094 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.142/3.285, allocations: 16.69 MB / 1.11 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/3.285, allocations: 5.25 kB / 1.11 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.072/3.357, allocations: 8.446 MB / 1.118 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/3.36, allocations: 268.4 kB / 1.119 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08136/3.441, allocations: 11.63 MB / 1.13 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/3.442, allocations: 1.19 MB / 1.131 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.007582/3.45, allocations: 0.7149 MB / 1.132 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004079/3.454, allocations: 0.6298 MB / 1.132 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of SimCode: time 1.683e-06/3.454, allocations: 0 / 1.132 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1616/3.616, allocations: 45.75 MB / 1.177 GB, free: 1.445 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003587/3.616, allocations: 255 kB / 1.177 GB, free: 1.09 MB / 0.9167 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang.c:7: In file included from ./Buildings_7_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: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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/getTimeSpan.h:11:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.o] Error 1