Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.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.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_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.01011/0.01012, allocations: 86.45 kB / 15.04 MB, free: 6.055 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.001291/0.00129, allocations: 169.4 kB / 15.92 MB, free: 5.992 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.04/2.04, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.279/2.279, allocations: 252.8 MB / 0.511 GB, free: 8.316 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004762, allocations: 12.78 kB / 0.6243 GB, free: 21.11 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2189, allocations: 106.2 MB / 0.7281 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.007472/0.2265, allocations: 4.056 MB / 0.732 GB, free: 4.016 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.8137/1.04, allocations: 127.6 MB / 0.8566 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/1.041, allocations: 14.78 kB / 0.8567 GB, free: 2.18 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0007016/1.042, allocations: 83.56 kB / 0.8567 GB, free: 2.141 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002549/1.045, allocations: 490 kB / 0.8572 GB, free: 2.094 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003268/1.048, allocations: 0.6952 MB / 0.8579 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002611/1.051, allocations: 0.9908 MB / 0.8588 GB, free: 2.008 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/1.052, allocations: 0.6146 MB / 0.8594 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/1.053, allocations: 453.3 kB / 0.8599 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008943/1.054, allocations: 466.5 kB / 0.8603 GB, free: 1.684 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002039/1.054, allocations: 33.84 kB / 0.8604 GB, free: 1.684 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/1.056, allocations: 364.5 kB / 0.8607 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003739/1.056, allocations: 246.3 kB / 0.8609 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003677/1.056, allocations: 233.1 kB / 0.8612 GB, free: 1.559 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002608/1.059, allocations: 1.415 MB / 0.8625 GB, free: 1.453 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.059, allocations: 6.469 kB / 0.8626 GB, free: 1.449 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.006e-06/1.059, allocations: 2.734 kB / 0.8626 GB, free: 1.449 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.058e-05/1.059, allocations: 0 / 0.8626 GB, free: 1.449 MB / 0.6511 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.005/1.064, allocations: 1.412 MB / 0.8639 GB, free: 16.63 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/1.064, allocations: 6.062 kB / 0.8639 GB, free: 16.63 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005451/1.065, allocations: 175.4 kB / 0.8641 GB, free: 16.59 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2231/1.288, allocations: 20.9 MB / 0.8845 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003836/1.292, allocations: 1.125 MB / 0.8856 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000495/1.292, allocations: 180.6 kB / 0.8858 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/1.293, allocations: 115.8 kB / 0.8859 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07053/1.364, allocations: 9.251 MB / 0.8949 GB, free: 6.879 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.769e-05/1.364, allocations: 6.594 kB / 0.8949 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005395/1.364, allocations: 48.73 kB / 0.895 GB, free: 6.871 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/1.365, allocations: 26.31 kB / 0.895 GB, free: 6.871 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1377/1.502, allocations: 16.88 MB / 0.9115 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08134/1.584, allocations: 10.63 MB / 0.9219 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.09219/1.676, allocations: 9.548 MB / 0.9312 GB, free: 11.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/1.677, allocations: 0.5975 MB / 0.9318 GB, free: 11.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.08399/1.761, allocations: 8.358 MB / 0.9399 GB, free: 3.488 MB / 0.698 GB Notification: Performance of pre-optimization done (n=101): time 6.041e-06/1.761, allocations: 0 / 0.9399 GB, free: 3.488 MB / 0.698 GB Notification: Performance of matching and sorting (n=101): time 0.208/1.969, allocations: 22.98 MB / 0.9624 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001671/1.969, allocations: 200.2 kB / 0.9626 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002005/1.971, allocations: 0.6821 MB / 0.9632 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0009768/1.972, allocations: 45.33 kB / 0.9633 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007185/1.973, allocations: 473.9 kB / 0.9637 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001339/1.975, allocations: 337.5 kB / 0.9641 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007051/1.975, allocations: 18.44 kB / 0.9641 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003871/1.976, allocations: 394.5 kB / 0.9645 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1041/2.08, allocations: 7.948 MB / 0.9722 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08559/2.165, allocations: 8.081 MB / 0.9801 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06846/2.234, allocations: 7.008 MB / 0.987 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/2.234, allocations: 0 / 0.987 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.1541/2.388, allocations: 15.37 MB / 1.002 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/2.388, allocations: 10.73 kB / 1.002 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/2.388, allocations: 3.938 kB / 1.002 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009935/2.389, allocations: 82.98 kB / 1.002 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04666/2.436, allocations: 3.531 MB / 1.006 GB, free: 6.711 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004534/2.441, allocations: 1.524 MB / 1.007 GB, free: 5.184 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05098/2.492, allocations: 3.318 MB / 1.01 GB, free: 1.941 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/2.493, allocations: 94.19 kB / 1.01 GB, free: 1.855 MB / 0.7605 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 (115): * Single equations (assignments): 114 * 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.002527/2.495, allocations: 291.5 kB / 1.011 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001084/2.497, allocations: 98.88 kB / 1.011 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1932/2.69, allocations: 15.89 MB / 1.026 GB, free: 3.109 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-05/2.69, allocations: 16 kB / 1.026 GB, free: 3.094 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/2.69, allocations: 0 / 1.026 GB, free: 3.094 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.625e-05/2.69, allocations: 3.984 kB / 1.026 GB, free: 3.09 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2021/2.892, allocations: 17.87 MB / 1.044 GB, free: 3.316 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/2.892, allocations: 0 / 1.044 GB, free: 3.316 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.05345/2.946, allocations: 3.524 MB / 1.047 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001291/2.947, allocations: 91.83 kB / 1.047 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001088/2.948, allocations: 90.17 kB / 1.047 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00408/2.952, allocations: 1.562 MB / 1.049 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/2.952, allocations: 3.953 kB / 1.049 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1828/3.135, allocations: 15.29 MB / 1.064 GB, free: 220 kB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002663/3.138, allocations: 0.6533 MB / 1.064 GB, free: 15.71 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009777/3.139, allocations: 31.47 kB / 1.064 GB, free: 15.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03619/3.175, allocations: 3.274 MB / 1.068 GB, free: 12.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003936/3.175, allocations: 83.75 kB / 1.068 GB, free: 12.43 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000791/3.176, allocations: 100.6 kB / 1.068 GB, free: 12.34 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001189/3.177, allocations: 0.4932 MB / 1.068 GB, free: 11.97 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.2e-07/3.177, allocations: 0 / 1.068 GB, free: 11.97 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003644/3.181, allocations: 0.6357 MB / 1.069 GB, free: 11.38 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 (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.1363/3.317, allocations: 16.35 MB / 1.085 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.1368/3.454, allocations: 16.14 MB / 1.101 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/3.454, allocations: 0 / 1.101 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.06873/3.523, allocations: 8.142 MB / 1.109 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/3.526, allocations: 256.9 kB / 1.109 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07686/3.603, allocations: 11.13 MB / 1.12 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/3.604, allocations: 1.143 MB / 1.121 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007237/3.611, allocations: 0.7224 MB / 1.122 GB, free: 9.863 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004113/3.615, allocations: 0.5849 MB / 1.122 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of SimCode: time 1.222e-06/3.615, allocations: 0 / 1.122 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1453/3.76, allocations: 42.08 MB / 1.163 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004022/3.761, allocations: 272.3 kB / 1.163 GB, free: 15.03 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_BaseClasses_Examples_Overhang.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.c:7: In file included from ./Buildings_7_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: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_BaseClasses_Examples_Overhang_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_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_BaseClasses_Examples_Overhang_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_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_BaseClasses_Examples_Overhang_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.o] Error 1