Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.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.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_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.583/2.583, allocations: 287.3 MB / 302.3 MB, free: 8.352 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.001838/0.001837, allocations: 186.7 kB / 370.8 MB, free: 10.84 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.249/2.249, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001089/0.001089, allocations: 88.31 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006566/0.0006569, allocations: 17.62 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2456, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.009957/0.2557, allocations: 4.041 MB / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9027/1.158, allocations: 127.7 MB / 1.107 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/1.159, allocations: 18.72 kB / 1.107 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004765/1.16, allocations: 78.27 kB / 1.107 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002426/1.162, allocations: 480.4 kB / 1.107 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003333/1.166, allocations: 0.7233 MB / 1.108 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002845/1.169, allocations: 0.9812 MB / 1.109 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/1.17, allocations: 0.6055 MB / 1.11 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/1.172, allocations: 443.2 kB / 1.11 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/1.173, allocations: 467.7 kB / 1.111 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003517/1.173, allocations: 37.48 kB / 1.111 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/1.175, allocations: 386.3 kB / 1.111 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000606/1.176, allocations: 243.4 kB / 1.111 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005928/1.177, allocations: 226.2 kB / 1.111 GB, free: 17.04 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003751/1.18, allocations: 1.437 MB / 1.113 GB, free: 16.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.18, allocations: 0 / 1.113 GB, free: 16.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.306e-06/1.18, allocations: 0 / 1.113 GB, free: 16.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.972e-05/1.18, allocations: 0 / 1.113 GB, free: 16.93 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.005497/1.186, allocations: 1.405 MB / 1.114 GB, free: 16.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/1.186, allocations: 18.05 kB / 1.114 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007806/1.187, allocations: 172.3 kB / 1.114 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2239/1.411, allocations: 20.9 MB / 1.135 GB, free: 10.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00427/1.415, allocations: 1.126 MB / 1.136 GB, free: 9.949 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002722/1.415, allocations: 87.16 kB / 1.136 GB, free: 9.945 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001142/1.417, allocations: 120 kB / 1.136 GB, free: 9.938 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07185/1.488, allocations: 9.223 MB / 1.145 GB, free: 6.652 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.848e-05/1.489, allocations: 3.984 kB / 1.145 GB, free: 6.648 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005659/1.489, allocations: 59.52 kB / 1.145 GB, free: 6.641 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/1.489, allocations: 25.84 kB / 1.145 GB, free: 6.641 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1467/1.636, allocations: 16.84 MB / 1.162 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08001/1.716, allocations: 10.6 MB / 1.172 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08582/1.802, allocations: 9.506 MB / 1.181 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008574/1.803, allocations: 0.597 MB / 1.182 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06957/1.872, allocations: 8.34 MB / 1.19 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=101): time 5.13e-06/1.872, allocations: 0 / 1.19 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of matching and sorting (n=101): time 0.2156/2.088, allocations: 22.93 MB / 1.212 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/2.088, allocations: 196.9 kB / 1.213 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/2.09, allocations: 0.6854 MB / 1.213 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0008378/2.091, allocations: 46.64 kB / 1.213 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006127/2.091, allocations: 473.2 kB / 1.214 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001138/2.092, allocations: 334.7 kB / 1.214 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004673/2.093, allocations: 18.06 kB / 1.214 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003497/2.093, allocations: 401 kB / 1.214 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06805/2.161, allocations: 7.924 MB / 1.222 GB, free: 4.621 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06825/2.23, allocations: 8.065 MB / 1.23 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06321/2.293, allocations: 6.98 MB / 1.237 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/2.293, allocations: 0 / 1.237 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.1338/2.427, allocations: 15.34 MB / 1.252 GB, free: 9.285 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/2.427, allocations: 10.03 kB / 1.252 GB, free: 9.277 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/2.427, allocations: 3.938 kB / 1.252 GB, free: 9.273 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009914/2.428, allocations: 84.61 kB / 1.252 GB, free: 9.195 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03741/2.465, allocations: 3.512 MB / 1.255 GB, free: 5.75 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003033/2.468, allocations: 1.538 MB / 1.257 GB, free: 4.211 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03606/2.504, allocations: 3.307 MB / 1.26 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009044/2.505, allocations: 96.81 kB / 1.26 GB, free: 0.8906 MB / 0.7917 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.001633/2.507, allocations: 297.1 kB / 1.26 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000736/2.508, allocations: 90.88 kB / 1.261 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1585/2.666, allocations: 15.85 MB / 1.276 GB, free: 1.32 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/2.666, allocations: 12 kB / 1.276 GB, free: 1.309 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/2.666, allocations: 7.953 kB / 1.276 GB, free: 1.301 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.242e-05/2.666, allocations: 9.828 kB / 1.276 GB, free: 1.293 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1506/2.817, allocations: 17.84 MB / 1.294 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/2.817, allocations: 0 / 1.294 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03807/2.855, allocations: 3.519 MB / 1.297 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000949/2.856, allocations: 80.78 kB / 1.297 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008925/2.857, allocations: 87.81 kB / 1.297 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003067/2.86, allocations: 1.559 MB / 1.299 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/2.86, allocations: 0 / 1.299 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1342/2.995, allocations: 15.25 MB / 1.314 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002709/2.997, allocations: 0.6608 MB / 1.314 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009467/2.998, allocations: 27.98 kB / 1.314 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03632/3.035, allocations: 3.269 MB / 1.317 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004007/3.035, allocations: 80.84 kB / 1.317 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008567/3.036, allocations: 95.81 kB / 1.318 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001231/3.037, allocations: 0.4951 MB / 1.318 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.32e-07/3.037, allocations: 4 kB / 1.318 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004076/3.041, allocations: 0.6397 MB / 1.319 GB, free: 5.441 MB / 0.8542 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.1467/3.188, allocations: 16.31 MB / 1.335 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.1382/3.326, allocations: 16.11 MB / 1.35 GB, free: 5.156 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/3.326, allocations: 4 kB / 1.35 GB, free: 5.152 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.06947/3.396, allocations: 8.12 MB / 1.358 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/3.399, allocations: 252.2 kB / 1.358 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07833/3.477, allocations: 11.11 MB / 1.369 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/3.478, allocations: 1.143 MB / 1.37 GB, free: 432 kB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0071/3.485, allocations: 0.7223 MB / 1.371 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0038/3.489, allocations: 0.5849 MB / 1.372 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of SimCode: time 1.403e-06/3.489, allocations: 0 / 1.372 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1297/3.619, allocations: 42 MB / 1.413 GB, free: 5.367 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003815/3.619, allocations: 265.7 kB / 1.413 GB, free: 5.012 MB / 0.948 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_BaseClasses_Examples_Overhang.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.c:7: In file included from ./Buildings_8_0_0_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 -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_BaseClasses_Examples_Overhang_functions.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.c:2: In file included from ./Buildings_8_0_0_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_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_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_BaseClasses_Examples_Overhang_functions.o' failed make: *** [Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.o] Error 1