Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.005/3.005, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.34/2.34, allocations: 292.6 MB / 0.5497 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000783/0.0007832, allocations: 15.47 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4324, allocations: 116.3 MB / 0.7872 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.008127/0.4406, allocations: 4.049 MB / 0.7912 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 2.718/3.158, allocations: 127.6 MB / 0.9158 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004647/3.159, allocations: 16.09 kB / 0.9159 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002831/3.159, allocations: 82.64 kB / 0.9159 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001072/3.16, allocations: 492.6 kB / 0.9164 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001495/3.162, allocations: 0.7148 MB / 0.9171 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001037/3.163, allocations: 0.9866 MB / 0.9181 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007687/3.163, allocations: 0.6062 MB / 0.9187 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005285/3.164, allocations: 447.9 kB / 0.9191 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000503/3.164, allocations: 463.6 kB / 0.9195 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.718e-05/3.165, allocations: 35.66 kB / 0.9196 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006812/3.165, allocations: 386.4 kB / 0.9199 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002332/3.166, allocations: 240 kB / 0.9202 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/3.166, allocations: 229.4 kB / 0.9204 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/3.167, allocations: 1.437 MB / 0.9218 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/3.167, allocations: 0 / 0.9218 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/3.167, allocations: 0 / 0.9218 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.947e-05/3.167, allocations: 0 / 0.9218 GB, free: 5.316 MB / 0.7169 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.002606/3.17, allocations: 1.401 MB / 0.9231 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/3.17, allocations: 8.844 kB / 0.9232 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00019/3.17, allocations: 172.2 kB / 0.9233 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1075/3.277, allocations: 20.91 MB / 0.9437 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002393/3.28, allocations: 1.128 MB / 0.9448 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/3.28, allocations: 89.88 kB / 0.9449 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003559/3.28, allocations: 108.9 kB / 0.945 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03624/3.317, allocations: 9.229 MB / 0.954 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/3.317, allocations: 3.984 kB / 0.954 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002954/3.317, allocations: 47.19 kB / 0.9541 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/3.317, allocations: 33.89 kB / 0.9541 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06884/3.386, allocations: 16.84 MB / 0.9706 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04092/3.427, allocations: 10.59 MB / 0.9809 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04087/3.468, allocations: 9.513 MB / 0.9902 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006929/3.468, allocations: 0.5925 MB / 0.9908 GB, free: 7.363 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03523/3.504, allocations: 8.354 MB / 0.9989 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=101): time 3.387e-06/3.504, allocations: 0 / 0.9989 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of matching and sorting (n=101): time 0.102/3.606, allocations: 22.93 MB / 1.021 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/3.606, allocations: 194.3 kB / 1.022 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009626/3.607, allocations: 0.6872 MB / 1.022 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0005043/3.607, allocations: 43.2 kB / 1.022 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/3.608, allocations: 473.8 kB / 1.023 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004682/3.608, allocations: 341.2 kB / 1.023 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/3.608, allocations: 18.88 kB / 1.023 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001616/3.609, allocations: 396.1 kB / 1.023 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03391/3.643, allocations: 7.93 MB / 1.031 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03499/3.678, allocations: 8.055 MB / 1.039 GB, free: 10.89 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03281/3.71, allocations: 6.986 MB / 1.046 GB, free: 4.574 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/3.71, allocations: 0.875 kB / 1.046 GB, free: 4.574 MB / 0.795 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.6192/4.33, allocations: 15.34 MB / 1.061 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/4.33, allocations: 8 kB / 1.061 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/4.33, allocations: 0 / 1.061 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/4.33, allocations: 82.61 kB / 1.061 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01998/4.35, allocations: 3.517 MB / 1.064 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/4.353, allocations: 1.53 MB / 1.066 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02059/4.374, allocations: 3.309 MB / 1.069 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007559/4.375, allocations: 96.95 kB / 1.069 GB, free: 14.41 MB / 0.8262 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.001272/4.376, allocations: 294.2 kB / 1.069 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005088/4.376, allocations: 90.88 kB / 1.07 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0921/4.469, allocations: 15.85 MB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/4.469, allocations: 12 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/4.469, allocations: 0 / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-05/4.469, allocations: 11.92 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1222/4.591, allocations: 17.84 MB / 1.102 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/4.591, allocations: 0 / 1.102 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03194/4.623, allocations: 3.512 MB / 1.106 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008851/4.624, allocations: 80.78 kB / 1.106 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009603/4.625, allocations: 89.5 kB / 1.106 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002961/4.628, allocations: 1.57 MB / 1.108 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/4.628, allocations: 0 / 1.108 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1064/4.734, allocations: 15.25 MB / 1.122 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003006/4.737, allocations: 0.6611 MB / 1.123 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009228/4.738, allocations: 24.31 kB / 1.123 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02559/4.764, allocations: 3.267 MB / 1.126 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004162/4.764, allocations: 82.22 kB / 1.126 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007895/4.765, allocations: 96.31 kB / 1.126 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001234/4.766, allocations: 0.4956 MB / 1.127 GB, free: 8.711 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.61e-07/4.766, allocations: 4 kB / 1.127 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.003663/4.77, allocations: 0.6407 MB / 1.128 GB, free: 8.109 MB / 0.8731 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.1024/4.873, allocations: 16.31 MB / 1.144 GB, free: 9.379 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.09988/4.972, allocations: 16.11 MB / 1.159 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/4.973, allocations: 0 / 1.159 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.04996/5.023, allocations: 8.124 MB / 1.167 GB, free: 3.551 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/5.025, allocations: 250 kB / 1.167 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06154/5.087, allocations: 11.11 MB / 1.178 GB, free: 9.152 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/5.088, allocations: 1.15 MB / 1.179 GB, free: 7.988 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.006822/5.095, allocations: 0.7145 MB / 1.18 GB, free: 7.27 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003059/5.098, allocations: 0.5869 MB / 1.181 GB, free: 7.016 MB / 0.92 GB Notification: Performance of SimCode: time 1.443e-06/5.098, allocations: 0 / 1.181 GB, free: 7.016 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8294/5.928, allocations: 42 MB / 1.222 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004841/5.928, allocations: 266.3 kB / 1.222 GB, free: 13.1 MB / 0.9669 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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_BaseClasses_Examples_Overhang.o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.c:7: In file included from ./Buildings_8_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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_BaseClasses_Examples_Overhang_functions.o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.c:2: In file included from ./Buildings_8_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_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.c:7: In file included from ./Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_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_BaseClasses_Examples_Overhang_functions.o] Error 1