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.877/1.877, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001147/0.001147, allocations: 188.6 kB / 377.1 MB, free: 1.516 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.651/1.651, allocations: 205.4 MB / 0.6366 GB, free: 8.609 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.0008818/0.0008819, allocations: 98.53 kB / 0.7509 GB, free: 62.99 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003576, allocations: 12 kB / 0.8748 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2736, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.273/5.547, allocations: 2.08 GB / 3.069 GB, free: 139.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003773/5.547, allocations: 89.08 kB / 3.069 GB, free: 139 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.182/5.729, allocations: 79.63 MB / 3.147 GB, free: 59.27 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.235e-06/5.729, allocations: 4 kB / 3.147 GB, free: 59.26 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001503/5.729, allocations: 28 kB / 3.147 GB, free: 59.23 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.004393/5.734, allocations: 1.472 MB / 3.148 GB, free: 57.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/5.734, allocations: 15.95 kB / 3.148 GB, free: 57.69 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005804/5.735, allocations: 169.1 kB / 3.148 GB, free: 57.51 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07356/5.808, allocations: 14.26 MB / 3.162 GB, free: 43.23 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003415/5.812, allocations: 1.177 MB / 3.163 GB, free: 42.02 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/5.812, allocations: 90.25 kB / 3.163 GB, free: 41.93 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008958/5.813, allocations: 112 kB / 3.163 GB, free: 41.82 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03504/5.848, allocations: 9.088 MB / 3.172 GB, free: 32.65 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.27e-05/5.848, allocations: 0 / 3.172 GB, free: 32.65 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004138/5.848, allocations: 48 kB / 3.172 GB, free: 32.61 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/5.848, allocations: 35.89 kB / 3.172 GB, free: 32.57 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06358/5.912, allocations: 16.62 MB / 3.189 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03998/5.952, allocations: 11.17 MB / 3.2 GB, free: 4.676 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5461/6.498, allocations: 9.534 MB / 3.209 GB, free: 242.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005022/6.499, allocations: 0.5985 MB / 3.209 GB, free: 241.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03713/6.536, allocations: 8.268 MB / 3.217 GB, free: 241.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=103): time 6.452e-06/6.536, allocations: 0 / 3.217 GB, free: 241.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=103): time 0.09844/6.634, allocations: 22.74 MB / 3.24 GB, free: 240.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/6.635, allocations: 248.2 kB / 3.24 GB, free: 240.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/6.636, allocations: 0.707 MB / 3.241 GB, free: 240.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007217/6.637, allocations: 45.39 kB / 3.241 GB, free: 240.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005687/6.637, allocations: 482.1 kB / 3.241 GB, free: 240.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006416/6.638, allocations: 340.5 kB / 3.241 GB, free: 239.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/6.638, allocations: 20.62 kB / 3.241 GB, free: 239.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001145/6.638, allocations: 343.1 kB / 3.242 GB, free: 239.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03195/6.67, allocations: 7.827 MB / 3.249 GB, free: 239.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03075/6.701, allocations: 7.973 MB / 3.257 GB, free: 238.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02908/6.73, allocations: 6.843 MB / 3.264 GB, free: 238.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/6.73, allocations: 0 / 3.264 GB, free: 238.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.06279/6.793, allocations: 15.09 MB / 3.279 GB, free: 237.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/6.793, allocations: 4.625 kB / 3.279 GB, free: 237.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/6.793, allocations: 2.312 kB / 3.279 GB, free: 237.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005796/6.794, allocations: 86.39 kB / 3.279 GB, free: 237.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01883/6.813, allocations: 3.324 MB / 3.282 GB, free: 237.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/6.815, allocations: 1.544 MB / 3.283 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01885/6.834, allocations: 3.116 MB / 3.287 GB, free: 236.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007956/6.834, allocations: 96.48 kB / 3.287 GB, free: 236.3 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 () * Number of clocked 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.001748/6.836, allocations: 313 kB / 3.287 GB, free: 236.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006064/6.837, allocations: 97.44 kB / 3.287 GB, free: 236.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07055/6.907, allocations: 15.64 MB / 3.302 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/6.907, allocations: 12.16 kB / 3.302 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/6.907, allocations: 1.031 kB / 3.302 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.634e-05/6.907, allocations: 14.73 kB / 3.302 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07666/6.984, allocations: 18.29 MB / 3.32 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/6.984, allocations: 3.797 kB / 3.32 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01796/7.002, allocations: 3.324 MB / 3.323 GB, free: 233.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000744/7.003, allocations: 90.66 kB / 3.324 GB, free: 233.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007811/7.004, allocations: 83.89 kB / 3.324 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/7.005, allocations: 1.566 MB / 3.325 GB, free: 232 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/7.005, allocations: 0 / 3.325 GB, free: 232 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06079/7.066, allocations: 15.1 MB / 3.34 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002036/7.068, allocations: 0.7697 MB / 3.341 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007487/7.069, allocations: 20.56 kB / 3.341 GB, free: 229.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01625/7.085, allocations: 3.082 MB / 3.344 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003466/7.086, allocations: 86.83 kB / 3.344 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005365/7.086, allocations: 97.72 kB / 3.344 GB, free: 227.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009863/7.087, allocations: 0.5692 MB / 3.344 GB, free: 226.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.61e-07/7.087, allocations: 0 / 3.344 GB, free: 226.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002905/7.09, allocations: 0.6951 MB / 3.345 GB, free: 226.2 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) * 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.06425/7.155, allocations: 16.62 MB / 3.361 GB, free: 212 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.06355/7.218, allocations: 15.97 MB / 3.377 GB, free: 196 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/7.218, allocations: 2.297 kB / 3.377 GB, free: 196 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.03174/7.25, allocations: 8.085 MB / 3.385 GB, free: 187.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/7.252, allocations: 266 kB / 3.385 GB, free: 187.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03869/7.291, allocations: 11.08 MB / 3.396 GB, free: 176.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007429/7.291, allocations: 1.151 MB / 3.397 GB, free: 175.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004271/7.296, allocations: 0.6837 MB / 3.398 GB, free: 174.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001972/7.298, allocations: 0.5927 MB / 3.398 GB, free: 174.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.223e-06/7.298, allocations: 0 / 3.398 GB, free: 174.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07338/7.371, allocations: 52.55 MB / 3.45 GB, free: 122.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/7.371, allocations: 242.8 kB / 3.45 GB, free: 121.9 MB / 0.948 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_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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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_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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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