Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.Overhang.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.972/2.972, allocations: 287.3 MB / 302.3 MB, free: 8.367 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.002912/0.002913, allocations: 191.3 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.197/2.197, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 98.75 kB / 0.7428 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005038/0.0005041, allocations: 13.17 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2207, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.006519/0.2273, allocations: 4.287 MB / 0.9825 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.922/1.149, allocations: 127.7 MB / 1.107 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/1.151, allocations: 16.09 kB / 1.107 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005919/1.151, allocations: 88.77 kB / 1.107 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002696/1.154, allocations: 0.4957 MB / 1.108 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003516/1.157, allocations: 0.7262 MB / 1.109 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003039/1.161, allocations: 1.063 MB / 1.11 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001685/1.162, allocations: 0.7219 MB / 1.11 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/1.164, allocations: 472.8 kB / 1.111 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/1.165, allocations: 491.4 kB / 1.111 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003587/1.166, allocations: 38 kB / 1.111 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/1.168, allocations: 382.9 kB / 1.112 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005883/1.168, allocations: 253.2 kB / 1.112 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006256/1.169, allocations: 255 kB / 1.112 GB, free: 17.02 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004164/1.173, allocations: 1.682 MB / 1.114 GB, free: 16.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.173, allocations: 0 / 1.114 GB, free: 16.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.026e-06/1.173, allocations: 0 / 1.114 GB, free: 16.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.283e-05/1.173, allocations: 0 / 1.114 GB, free: 16.89 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005924/1.179, allocations: 1.489 MB / 1.115 GB, free: 16.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/1.179, allocations: 13.84 kB / 1.115 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009284/1.18, allocations: 198.2 kB / 1.115 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2337/1.414, allocations: 20.92 MB / 1.136 GB, free: 10.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004647/1.419, allocations: 1.307 MB / 1.137 GB, free: 9.633 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003459/1.419, allocations: 101.6 kB / 1.137 GB, free: 9.625 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00113/1.42, allocations: 127.5 kB / 1.137 GB, free: 9.625 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07452/1.495, allocations: 9.585 MB / 1.147 GB, free: 6.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.891e-05/1.495, allocations: 0 / 1.147 GB, free: 6.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006373/1.496, allocations: 60.17 kB / 1.147 GB, free: 6.316 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.882e-05/1.496, allocations: 31.53 kB / 1.147 GB, free: 6.316 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1458/1.641, allocations: 17.4 MB / 1.164 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1093/1.751, allocations: 12.06 MB / 1.175 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08805/1.839, allocations: 9.878 MB / 1.185 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009225/1.84, allocations: 0.5967 MB / 1.186 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.07299/1.913, allocations: 8.636 MB / 1.194 GB, free: 428 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=103): time 6.251e-06/1.913, allocations: 4 kB / 1.194 GB, free: 424 kB / 0.7292 GB Notification: Performance of matching and sorting (n=103): time 0.2145/2.128, allocations: 23.7 MB / 1.217 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/2.128, allocations: 199 kB / 1.217 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/2.13, allocations: 0.7392 MB / 1.218 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0009766/2.131, allocations: 44.33 kB / 1.218 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006528/2.131, allocations: 0.5129 MB / 1.219 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009493/2.132, allocations: 341.8 kB / 1.219 GB, free: 9.801 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005158/2.133, allocations: 23.62 kB / 1.219 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001856/2.133, allocations: 339.8 kB / 1.219 GB, free: 9.469 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.07155/2.204, allocations: 8.183 MB / 1.227 GB, free: 2.328 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07201/2.277, allocations: 8.308 MB / 1.236 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06669/2.343, allocations: 7.135 MB / 1.243 GB, free: 3.984 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/2.343, allocations: 4 kB / 1.243 GB, free: 3.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.1425/2.486, allocations: 15.74 MB / 1.258 GB, free: 4.211 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/2.486, allocations: 4 kB / 1.258 GB, free: 4.207 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/2.486, allocations: 11.89 kB / 1.258 GB, free: 4.195 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/2.487, allocations: 84.86 kB / 1.258 GB, free: 4.109 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03987/2.527, allocations: 3.523 MB / 1.261 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003448/2.53, allocations: 1.542 MB / 1.263 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03807/2.569, allocations: 3.308 MB / 1.266 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/2.57, allocations: 103.8 kB / 1.266 GB, free: 11.49 MB / 0.8073 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 (117): * Single equations (assignments): 116 * 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.002101/2.572, allocations: 313.6 kB / 1.267 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008727/2.573, allocations: 94.78 kB / 1.267 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1452/2.718, allocations: 16.33 MB / 1.283 GB, free: 10.73 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/2.718, allocations: 12 kB / 1.283 GB, free: 10.72 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/2.718, allocations: 0 / 1.283 GB, free: 10.72 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.888e-05/2.718, allocations: 7.969 kB / 1.283 GB, free: 10.71 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1511/2.869, allocations: 19.14 MB / 1.301 GB, free: 7.523 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.292e-05/2.869, allocations: 8 kB / 1.301 GB, free: 7.516 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0586/2.928, allocations: 3.515 MB / 1.305 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009907/2.929, allocations: 88.72 kB / 1.305 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001019/2.93, allocations: 87.83 kB / 1.305 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003216/2.933, allocations: 1.564 MB / 1.306 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/2.933, allocations: 4.031 kB / 1.306 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1412/3.074, allocations: 15.72 MB / 1.322 GB, free: 2.352 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003/3.077, allocations: 0.7998 MB / 1.323 GB, free: 1.531 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009374/3.078, allocations: 24 kB / 1.323 GB, free: 1.508 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03789/3.116, allocations: 3.266 MB / 1.326 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004207/3.117, allocations: 90.67 kB / 1.326 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008393/3.118, allocations: 107.8 kB / 1.326 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001363/3.119, allocations: 0.5263 MB / 1.326 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.41e-07/3.119, allocations: 0 / 1.326 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004045/3.123, allocations: 0.6669 MB / 1.327 GB, free: 12.86 MB / 0.8698 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 (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.1436/3.267, allocations: 16.78 MB / 1.344 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.1448/3.412, allocations: 16.66 MB / 1.36 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/3.412, allocations: 0 / 1.36 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.07344/3.485, allocations: 8.425 MB / 1.368 GB, free: 3.105 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/3.488, allocations: 260.2 kB / 1.368 GB, free: 2.852 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08275/3.571, allocations: 11.63 MB / 1.38 GB, free: 7.152 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/3.572, allocations: 1.184 MB / 1.381 GB, free: 5.938 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00759/3.58, allocations: 0.7188 MB / 1.381 GB, free: 5.215 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004342/3.584, allocations: 0.6239 MB / 1.382 GB, free: 4.59 MB / 0.9167 GB Notification: Performance of SimCode: time 1.673e-06/3.584, allocations: 0 / 1.382 GB, free: 4.59 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1674/3.752, allocations: 45.64 MB / 1.427 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004367/3.752, allocations: 255.9 kB / 1.427 GB, free: 6.793 MB / 0.9636 GB Error: Error building simulator. Build log: clang -Os -fPIC -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_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/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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_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_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.o' failed make: *** [Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.o] Error 1