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.SideFins.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.SideFins,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins",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.01394, allocations: 88.92 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.002009/0.002009, allocations: 171.8 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.269/2.269, 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.411/2.411, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006514/0.0006515, allocations: 10.19 kB / 0.6243 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2392, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008005/0.2473, allocations: 4.22 MB / 0.7322 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.8565/1.104, allocations: 127.6 MB / 0.8568 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/1.105, allocations: 16.97 kB / 0.8568 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.0005002/1.106, allocations: 88.33 kB / 0.8569 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.002613/1.108, allocations: 495.1 kB / 0.8574 GB, free: 5.078 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003226/1.111, allocations: 0.6894 MB / 0.8581 GB, free: 5.055 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00275/1.114, allocations: 1.03 MB / 0.8591 GB, free: 5.047 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/1.116, allocations: 0.6485 MB / 0.8597 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/1.117, allocations: 446.4 kB / 0.8601 GB, free: 4.926 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/1.118, allocations: 450.9 kB / 0.8606 GB, free: 4.926 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002347/1.118, allocations: 38.31 kB / 0.8606 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/1.12, allocations: 362 kB / 0.8609 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003981/1.12, allocations: 263.7 kB / 0.8612 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006783/1.121, allocations: 252.1 kB / 0.8614 GB, free: 20.89 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003506/1.124, allocations: 1.575 MB / 0.863 GB, free: 20.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.124, allocations: 2.625 kB / 0.863 GB, free: 20.78 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.126e-06/1.124, allocations: 1.75 kB / 0.863 GB, free: 20.78 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.159e-05/1.125, allocations: 4 kB / 0.863 GB, free: 20.77 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: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.004849/1.129, allocations: 1.446 MB / 0.8644 GB, free: 19.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.129, allocations: 15.7 kB / 0.8644 GB, free: 19.93 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006791/1.13, allocations: 182 kB / 0.8646 GB, free: 19.88 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.017/1.147, allocations: 1.567 MB / 0.8661 GB, free: 19.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/1.15, allocations: 0.9473 MB / 0.867 GB, free: 19.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/1.15, allocations: 95.09 kB / 0.8671 GB, free: 19.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004477/1.151, allocations: 115.4 kB / 0.8672 GB, free: 19.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/1.161, allocations: 2.208 MB / 0.8694 GB, free: 19.22 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.755e-05/1.161, allocations: 0.75 kB / 0.8694 GB, free: 19.22 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003144/1.161, allocations: 58.92 kB / 0.8695 GB, free: 19.22 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.142e-05/1.162, allocations: 30.69 kB / 0.8695 GB, free: 19.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0165/1.178, allocations: 3.119 MB / 0.8725 GB, free: 19.14 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01657/1.195, allocations: 4.699 MB / 0.8771 GB, free: 18.15 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01608/1.211, allocations: 3.025 MB / 0.8801 GB, free: 18.05 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008481/1.212, allocations: 0.6043 MB / 0.8807 GB, free: 17.39 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007164/1.219, allocations: 1.453 MB / 0.8821 GB, free: 17.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=121): time 7.003e-06/1.219, allocations: 1.375 kB / 0.8821 GB, free: 17.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=121): time 0.02205/1.241, allocations: 3.774 MB / 0.8858 GB, free: 16.83 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/1.241, allocations: 195.4 kB / 0.886 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/1.243, allocations: 0.7301 MB / 0.8867 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000477/1.243, allocations: 56.64 kB / 0.8867 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004562/1.244, allocations: 497.2 kB / 0.8872 GB, free: 16.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005424/1.244, allocations: 401.2 kB / 0.8876 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/1.244, allocations: 18.75 kB / 0.8876 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.245, allocations: 346.2 kB / 0.8879 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005898/1.25, allocations: 1.097 MB / 0.889 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006372/1.257, allocations: 1.234 MB / 0.8902 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006001/1.263, allocations: 1.089 MB / 0.8913 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/1.263, allocations: 0 / 0.8913 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01376/1.277, allocations: 2.533 MB / 0.8937 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/1.277, allocations: 7.656 kB / 0.8937 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.277, allocations: 4.125 kB / 0.8937 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009446/1.278, allocations: 84.7 kB / 0.8938 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004841/1.283, allocations: 464.5 kB / 0.8943 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003095/1.286, allocations: 1.549 MB / 0.8958 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004071/1.29, allocations: 317.1 kB / 0.8961 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002475/1.29, allocations: 54.12 kB / 0.8961 GB, free: 12.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (127): * Single equations (assignments): 126 * 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.001105/1.291, allocations: 345 kB / 0.8965 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003859/1.292, allocations: 107.6 kB / 0.8966 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01502/1.307, allocations: 2.966 MB / 0.8995 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/1.307, allocations: 13.66 kB / 0.8995 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.307, allocations: 0 / 0.8995 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.65e-05/1.307, allocations: 11.92 kB / 0.8995 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/1.325, allocations: 4.798 MB / 0.9042 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/1.325, allocations: 0 / 0.9042 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004676/1.33, allocations: 470.3 kB / 0.9046 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008666/1.331, allocations: 87.3 kB / 0.9047 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002328/1.331, allocations: 47.03 kB / 0.9048 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002661/1.334, allocations: 1.57 MB / 0.9063 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.334, allocations: 0 / 0.9063 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01423/1.348, allocations: 2.727 MB / 0.909 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/1.35, allocations: 454.9 kB / 0.9094 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004007/1.35, allocations: 23.69 kB / 0.9094 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004196/1.354, allocations: 288.1 kB / 0.9097 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004033/1.355, allocations: 87.56 kB / 0.9098 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003298/1.355, allocations: 66.77 kB / 0.9098 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001144/1.356, allocations: 0.5275 MB / 0.9103 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.01e-07/1.356, allocations: 0 / 0.9103 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002285/1.359, allocations: 446.6 kB / 0.9108 GB, free: 6.754 MB / 0.6823 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 (135): * Single equations (assignments): 132 * 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.01673/1.375, allocations: 3.776 MB / 0.9145 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01372/1.389, allocations: 2.591 MB / 0.917 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.389, allocations: 0 / 0.917 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.007257/1.397, allocations: 1.444 MB / 0.9184 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/1.399, allocations: 272.2 kB / 0.9187 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04337/1.442, allocations: 10.45 MB / 0.9289 GB, free: 14.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/1.444, allocations: 1.19 MB / 0.93 GB, free: 13.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003529/1.447, allocations: 468.5 kB / 0.9305 GB, free: 12.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00193/1.449, allocations: 0.5225 MB / 0.931 GB, free: 12.69 MB / 0.698 GB Notification: Performance of SimCode: time 1.262e-06/1.449, allocations: 1.75 kB / 0.931 GB, free: 12.69 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/1.555, allocations: 29.88 MB / 0.9602 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003766/1.555, allocations: 254.6 kB / 0.9604 GB, free: 14.79 MB / 0.7292 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_SideFins.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins_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_SideFins_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins_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_SideFins_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins_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_SideFins_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.o] Error 1