Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.Overhang.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.361/2.361, allocations: 248.5 MB / 261 MB, free: 5.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002026/0.002026, allocations: 188.8 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.1 MB / 0.571 GB, free: 11.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001157, allocations: 97.84 kB / 0.6754 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.939e-05/3.943e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2243, allocations: 106.3 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.445/7.669, allocations: 2.197 GB / 3.088 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/7.669, allocations: 86.7 kB / 3.088 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2996/7.969, allocations: 78.4 MB / 3.165 GB, free: 62.19 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.504e-06/7.969, allocations: 0 / 3.165 GB, free: 62.19 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.00014/7.969, allocations: 35.92 kB / 3.165 GB, free: 62.16 MB / 0.8698 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.00466/7.974, allocations: 1.34 MB / 3.166 GB, free: 60.76 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/7.974, allocations: 12.03 kB / 3.166 GB, free: 60.75 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005397/7.975, allocations: 173.1 kB / 3.166 GB, free: 60.57 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1494/8.124, allocations: 14.25 MB / 3.18 GB, free: 46.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003909/8.128, allocations: 1.176 MB / 3.181 GB, free: 45.08 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004725/8.128, allocations: 183.3 kB / 3.181 GB, free: 44.88 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/8.13, allocations: 108 kB / 3.182 GB, free: 44.78 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008877/8.138, allocations: 3.053 MB / 3.184 GB, free: 41.66 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.104e-05/8.139, allocations: 3.953 kB / 3.185 GB, free: 41.65 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005498/8.139, allocations: 51.94 kB / 3.185 GB, free: 41.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/8.139, allocations: 24 kB / 3.185 GB, free: 41.58 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/8.153, allocations: 4.564 MB / 3.189 GB, free: 37 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07677/8.23, allocations: 11.2 MB / 3.2 GB, free: 25.71 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/8.24, allocations: 2.727 MB / 3.203 GB, free: 22.98 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004971/8.245, allocations: 1.781 MB / 3.204 GB, free: 21.19 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006343/8.246, allocations: 0.5944 MB / 3.205 GB, free: 20.46 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00581/8.252, allocations: 2.257 MB / 3.207 GB, free: 18.19 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=103): time 4.869e-06/8.252, allocations: 0 / 3.207 GB, free: 18.19 MB / 0.8698 GB Notification: Performance of matching and sorting (n=103): time 0.01141/8.263, allocations: 3.222 MB / 3.21 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.834e-05/8.263, allocations: 248.3 kB / 3.211 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/8.265, allocations: 0.6993 MB / 3.211 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007846/8.266, allocations: 45.7 kB / 3.211 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005076/8.266, allocations: 480.4 kB / 3.212 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008759/8.267, allocations: 343 kB / 3.212 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000444/8.268, allocations: 23.94 kB / 3.212 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001085/8.268, allocations: 345.9 kB / 3.212 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004868/8.273, allocations: 1.802 MB / 3.214 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005305/8.278, allocations: 1.946 MB / 3.216 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003761/8.282, allocations: 1.196 MB / 3.217 GB, free: 7.742 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/8.282, allocations: 0 / 3.217 GB, free: 7.742 MB / 0.8698 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01296/8.295, allocations: 3.429 MB / 3.221 GB, free: 4.301 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/8.295, allocations: 6.656 kB / 3.221 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/8.295, allocations: 4 kB / 3.221 GB, free: 4.293 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/8.296, allocations: 84.83 kB / 3.221 GB, free: 4.207 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03618/8.332, allocations: 3.332 MB / 3.224 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6467/8.979, allocations: 1.527 MB / 3.225 GB, free: 267.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03954/9.019, allocations: 3.126 MB / 3.228 GB, free: 267.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008361/9.019, allocations: 93.34 kB / 3.229 GB, free: 267.7 MB / 0.8698 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.001022/9.02, allocations: 165.1 kB / 3.229 GB, free: 267.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007104/9.021, allocations: 97.41 kB / 3.229 GB, free: 267.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01636/9.038, allocations: 3.991 MB / 3.233 GB, free: 267.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.921e-05/9.038, allocations: 12.19 kB / 3.233 GB, free: 267.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/9.038, allocations: 0 / 3.233 GB, free: 267.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.399e-05/9.038, allocations: 11.28 kB / 3.233 GB, free: 267.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02451/9.062, allocations: 6.638 MB / 3.239 GB, free: 267.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/9.062, allocations: 0.5625 kB / 3.239 GB, free: 267.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03701/9.099, allocations: 3.334 MB / 3.242 GB, free: 267.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009285/9.1, allocations: 83.58 kB / 3.243 GB, free: 267.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009237/9.101, allocations: 85.81 kB / 3.243 GB, free: 267.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002548/9.104, allocations: 1.559 MB / 3.244 GB, free: 265.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/9.104, allocations: 0 / 3.244 GB, free: 265.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01266/9.117, allocations: 3.436 MB / 3.248 GB, free: 265.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002924/9.12, allocations: 0.7617 MB / 3.248 GB, free: 265.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001061/9.121, allocations: 24.42 kB / 3.248 GB, free: 265.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03474/9.155, allocations: 3.089 MB / 3.251 GB, free: 265.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003644/9.156, allocations: 92.02 kB / 3.251 GB, free: 265.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006792/9.157, allocations: 98.2 kB / 3.251 GB, free: 265.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001209/9.158, allocations: 0.565 MB / 3.252 GB, free: 265.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.21e-07/9.158, allocations: 0 / 3.252 GB, free: 265.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003905/9.162, allocations: 0.6842 MB / 3.253 GB, free: 265.2 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) * 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.01534/9.177, allocations: 4.905 MB / 3.257 GB, free: 264.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02141/9.199, allocations: 3.93 MB / 3.261 GB, free: 263.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/9.199, allocations: 1.031 kB / 3.261 GB, free: 263.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01147/9.21, allocations: 2.065 MB / 3.263 GB, free: 262.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/9.213, allocations: 268.2 kB / 3.264 GB, free: 262.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/9.226, allocations: 3.436 MB / 3.267 GB, free: 261 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007409/9.227, allocations: 1.147 MB / 3.268 GB, free: 260.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007015/9.234, allocations: 0.6956 MB / 3.269 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003556/9.238, allocations: 0.5809 MB / 3.269 GB, free: 259.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.873e-06/9.238, allocations: 0 / 3.269 GB, free: 259.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.13/9.368, allocations: 54.82 MB / 3.323 GB, free: 241.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003242/9.368, allocations: 221.7 kB / 3.323 GB, free: 240.9 MB / 0.8698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang.c:7: In file included from ./Buildings_7_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: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 -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.o] Error 1