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.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.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_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.0101/0.01011, allocations: 90.2 kB / 15.04 MB, free: 5.582 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.001212/0.001212, allocations: 169 kB / 15.92 MB, free: 5.555 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 1.953/1.953, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.357/2.357, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006524/0.0006524, allocations: 13.66 kB / 0.6243 GB, free: 28.28 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2196, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007743/0.2274, allocations: 4.068 MB / 0.732 GB, free: 6.047 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.8521/1.079, allocations: 127.5 MB / 0.8565 GB, free: 4.727 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008394/1.08, allocations: 16.53 kB / 0.8565 GB, free: 4.727 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.0004232/1.081, allocations: 85.62 kB / 0.8566 GB, free: 4.727 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.002306/1.083, allocations: 492.5 kB / 0.8571 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003201/1.086, allocations: 0.692 MB / 0.8578 GB, free: 4.691 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.002552/1.089, allocations: 0.9818 MB / 0.8587 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/1.09, allocations: 0.5597 MB / 0.8593 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/1.091, allocations: 425.5 kB / 0.8597 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008508/1.092, allocations: 437.8 kB / 0.8601 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001677/1.092, allocations: 34.34 kB / 0.8601 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/1.094, allocations: 365.2 kB / 0.8605 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003686/1.094, allocations: 253.9 kB / 0.8607 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005464/1.095, allocations: 232.7 kB / 0.8609 GB, free: 20.55 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002746/1.097, allocations: 1.387 MB / 0.8623 GB, free: 20.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.097, allocations: 0 / 0.8623 GB, free: 20.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.895e-06/1.097, allocations: 0 / 0.8623 GB, free: 20.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.424e-05/1.097, allocations: 4 kB / 0.8623 GB, free: 20.43 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.004163/1.102, allocations: 1.379 MB / 0.8636 GB, free: 19.62 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/1.102, allocations: 13 kB / 0.8636 GB, free: 19.62 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003842/1.102, allocations: 177.7 kB / 0.8638 GB, free: 19.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01688/1.119, allocations: 1.552 MB / 0.8653 GB, free: 19.43 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/1.122, allocations: 0.8758 MB / 0.8662 GB, free: 19.13 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/1.122, allocations: 81.33 kB / 0.8663 GB, free: 19.13 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005733/1.123, allocations: 117.3 kB / 0.8664 GB, free: 19.12 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009775/1.132, allocations: 2.037 MB / 0.8684 GB, free: 18.92 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.579e-05/1.132, allocations: 4.578 kB / 0.8684 GB, free: 18.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00028/1.133, allocations: 49.22 kB / 0.8684 GB, free: 18.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.314e-05/1.133, allocations: 27.91 kB / 0.8684 GB, free: 18.91 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01556/1.148, allocations: 2.912 MB / 0.8713 GB, free: 18.84 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01594/1.164, allocations: 4.129 MB / 0.8753 GB, free: 17.88 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0156/1.18, allocations: 2.813 MB / 0.8781 GB, free: 17.78 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009151/1.181, allocations: 0.6019 MB / 0.8787 GB, free: 17.12 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006888/1.188, allocations: 1.367 MB / 0.88 GB, free: 17.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=120): time 5.049e-06/1.188, allocations: 1.969 kB / 0.88 GB, free: 17.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=120): time 0.02119/1.209, allocations: 3.547 MB / 0.8835 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/1.209, allocations: 197.5 kB / 0.8836 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/1.211, allocations: 0.6976 MB / 0.8843 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004611/1.211, allocations: 48.86 kB / 0.8844 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004324/1.212, allocations: 452.7 kB / 0.8848 GB, free: 16.15 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005634/1.212, allocations: 397.3 kB / 0.8852 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/1.213, allocations: 22 kB / 0.8852 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.213, allocations: 350.4 kB / 0.8855 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005687/1.218, allocations: 1.011 MB / 0.8865 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006109/1.225, allocations: 1.154 MB / 0.8876 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005978/1.231, allocations: 1.017 MB / 0.8886 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/1.231, allocations: 1.25 kB / 0.8886 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01369/1.244, allocations: 2.382 MB / 0.891 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/1.244, allocations: 9.766 kB / 0.891 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/1.244, allocations: 4.047 kB / 0.891 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009813/1.245, allocations: 90.72 kB / 0.8911 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004799/1.25, allocations: 462.2 kB / 0.8915 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/1.253, allocations: 1.538 MB / 0.893 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004113/1.258, allocations: 323.5 kB / 0.8933 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004508/1.258, allocations: 57.88 kB / 0.8934 GB, free: 12.38 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 (126): * Single equations (assignments): 125 * 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.001129/1.259, allocations: 304 kB / 0.8937 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004494/1.26, allocations: 113.3 kB / 0.8938 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/1.276, allocations: 2.835 MB / 0.8965 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/1.276, allocations: 14.09 kB / 0.8966 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.276, allocations: 0 / 0.8966 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.053e-05/1.276, allocations: 3.984 kB / 0.8966 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01937/1.295, allocations: 4.368 MB / 0.9008 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/1.295, allocations: 4 kB / 0.9008 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004845/1.3, allocations: 463.8 kB / 0.9013 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000912/1.301, allocations: 83.44 kB / 0.9014 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003792/1.301, allocations: 50.83 kB / 0.9014 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002839/1.304, allocations: 1.568 MB / 0.9029 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.304, allocations: 3.188 kB / 0.9029 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01391/1.318, allocations: 2.584 MB / 0.9055 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/1.32, allocations: 414.9 kB / 0.9059 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003578/1.32, allocations: 27.53 kB / 0.9059 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003862/1.324, allocations: 284.8 kB / 0.9062 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003095/1.324, allocations: 87.47 kB / 0.9062 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002574/1.324, allocations: 64.5 kB / 0.9063 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00103/1.326, allocations: 0.5015 MB / 0.9068 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/1.326, allocations: 0 / 0.9068 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001956/1.327, allocations: 424 kB / 0.9072 GB, free: 6.914 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 (134): * Single equations (assignments): 131 * 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.01583/1.343, allocations: 3.641 MB / 0.9107 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01306/1.356, allocations: 2.433 MB / 0.9131 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.357, allocations: 0 / 0.9131 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00794/1.364, allocations: 1.358 MB / 0.9144 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003826/1.368, allocations: 270.8 kB / 0.9147 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05381/1.422, allocations: 9.832 MB / 0.9243 GB, free: 15.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/1.423, allocations: 1.158 MB / 0.9254 GB, free: 14.76 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003468/1.427, allocations: 452.3 kB / 0.9259 GB, free: 14.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00187/1.429, allocations: 0.5002 MB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of SimCode: time 1.703e-06/1.429, allocations: 0 / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/1.533, allocations: 28.55 MB / 0.9542 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004366/1.534, allocations: 269.2 kB / 0.9545 GB, free: 1.57 MB / 0.7136 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_SideFins.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_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_BaseClasses_Examples_SideFins_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_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_BaseClasses_Examples_SideFins_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_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_BaseClasses_Examples_SideFins_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_functions.o] Error 1