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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 289.7 MB / 302.2 MB, free: 2.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 175.6 kB / 371.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.1 MB / 0.6309 GB, free: 11.79 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 89.42 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.553e-05/4.556e-05, allocations: 7.984 kB / 0.8663 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.326, allocations: 116.3 MB / 0.9799 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.702/7.028, allocations: 2.08 GB / 3.06 GB, free: 161.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/7.029, allocations: 88.56 kB / 3.06 GB, free: 161 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1709/7.2, allocations: 79.31 MB / 3.138 GB, free: 81.53 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.695e-06/7.2, allocations: 0 / 3.138 GB, free: 81.53 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.529e-05/7.2, allocations: 28 kB / 3.138 GB, free: 81.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002665/7.203, allocations: 1.331 MB / 3.139 GB, free: 80.12 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/7.203, allocations: 8.031 kB / 3.139 GB, free: 80.11 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001981/7.203, allocations: 177.1 kB / 3.139 GB, free: 79.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07348/7.276, allocations: 14.25 MB / 3.153 GB, free: 65.65 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003015/7.279, allocations: 1.173 MB / 3.154 GB, free: 64.44 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/7.28, allocations: 86.25 kB / 3.154 GB, free: 64.35 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000414/7.28, allocations: 108 kB / 3.154 GB, free: 64.25 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004849/7.285, allocations: 3.049 MB / 3.157 GB, free: 61.13 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/7.285, allocations: 0 / 3.157 GB, free: 61.13 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000278/7.285, allocations: 48 kB / 3.157 GB, free: 61.08 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/7.285, allocations: 31.95 kB / 3.157 GB, free: 61.05 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006979/7.292, allocations: 4.557 MB / 3.162 GB, free: 56.48 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04112/7.333, allocations: 11.19 MB / 3.173 GB, free: 45.22 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005767/7.339, allocations: 2.723 MB / 3.175 GB, free: 42.48 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00274/7.342, allocations: 1.781 MB / 3.177 GB, free: 40.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005776/7.343, allocations: 0.5983 MB / 3.178 GB, free: 39.97 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003314/7.346, allocations: 2.246 MB / 3.18 GB, free: 37.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=103): time 7.925e-06/7.346, allocations: 0 / 3.18 GB, free: 37.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=103): time 0.006211/7.352, allocations: 3.218 MB / 3.183 GB, free: 34.48 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/7.352, allocations: 240.3 kB / 3.183 GB, free: 34.19 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/7.354, allocations: 0.6955 MB / 3.184 GB, free: 33.48 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002834/7.354, allocations: 49.7 kB / 3.184 GB, free: 33.43 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004363/7.354, allocations: 480.4 kB / 3.185 GB, free: 32.95 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004411/7.355, allocations: 343 kB / 3.185 GB, free: 32.61 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/7.355, allocations: 21.03 kB / 3.185 GB, free: 32.59 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001373/7.355, allocations: 345.9 kB / 3.185 GB, free: 32.25 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002582/7.358, allocations: 1.802 MB / 3.187 GB, free: 30.45 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002591/7.36, allocations: 1.951 MB / 3.189 GB, free: 28.46 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/7.362, allocations: 1.192 MB / 3.19 GB, free: 27.27 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/7.362, allocations: 0 / 3.19 GB, free: 27.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.006441/7.369, allocations: 3.422 MB / 3.193 GB, free: 23.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/7.369, allocations: 7.953 kB / 3.193 GB, free: 23.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/7.369, allocations: 0 / 3.193 GB, free: 23.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006653/7.369, allocations: 84.84 kB / 3.193 GB, free: 23.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01707/7.386, allocations: 3.325 MB / 3.197 GB, free: 20.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/7.389, allocations: 1.533 MB / 3.198 GB, free: 18.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01734/7.406, allocations: 3.113 MB / 3.201 GB, free: 15.63 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009603/7.407, allocations: 95.81 kB / 3.201 GB, free: 15.54 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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.001429/7.409, allocations: 168.7 kB / 3.201 GB, free: 15.36 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008802/7.41, allocations: 94.83 kB / 3.202 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009776/7.419, allocations: 3.987 MB / 3.205 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/7.419, allocations: 15.94 kB / 3.205 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/7.419, allocations: 0.6562 kB / 3.205 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.865e-05/7.42, allocations: 3.984 kB / 3.205 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/7.432, allocations: 6.638 MB / 3.212 GB, free: 4.547 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.784e-05/7.432, allocations: 0 / 3.212 GB, free: 4.547 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01826/7.45, allocations: 3.332 MB / 3.215 GB, free: 1.211 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007123/7.451, allocations: 84.73 kB / 3.215 GB, free: 1.125 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001064/7.452, allocations: 87.83 kB / 3.215 GB, free: 1.039 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7904/8.243, allocations: 1.541 MB / 3.217 GB, free: 241.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/8.243, allocations: 0 / 3.217 GB, free: 241.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00792/8.251, allocations: 3.433 MB / 3.22 GB, free: 241.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/8.253, allocations: 0.7601 MB / 3.221 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004233/8.253, allocations: 22.42 kB / 3.221 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01878/8.272, allocations: 3.089 MB / 3.224 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004174/8.272, allocations: 80.91 kB / 3.224 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006284/8.273, allocations: 94.8 kB / 3.224 GB, free: 241.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001255/8.274, allocations: 0.5628 MB / 3.225 GB, free: 241.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.8e-07/8.274, allocations: 3.938 kB / 3.225 GB, free: 241.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003688/8.278, allocations: 0.691 MB / 3.225 GB, free: 241.5 MB / 0.948 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) * 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.01246/8.29, allocations: 4.909 MB / 3.23 GB, free: 240.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009175/8.3, allocations: 3.915 MB / 3.234 GB, free: 240.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/8.3, allocations: 1 kB / 3.234 GB, free: 240.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004513/8.304, allocations: 2.074 MB / 3.236 GB, free: 240.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/8.307, allocations: 269.8 kB / 3.236 GB, free: 240.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/8.317, allocations: 3.433 MB / 3.24 GB, free: 240 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/8.318, allocations: 1.152 MB / 3.241 GB, free: 239.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004145/8.322, allocations: 0.6901 MB / 3.241 GB, free: 239.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002155/8.325, allocations: 0.5824 MB / 3.242 GB, free: 239.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.345e-06/8.325, allocations: 0 / 3.242 GB, free: 239.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1064/8.431, allocations: 54.73 MB / 3.295 GB, free: 236.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/8.431, allocations: 221.1 kB / 3.296 GB, free: 235.9 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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