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/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.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.718/1.718, allocations: 292.6 MB / 307.5 MB, free: 5.238 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.0012/0.0012, allocations: 189 kB / 377.1 MB, free: 1.555 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.504/1.504, allocations: 205.4 MB / 0.6366 GB, free: 8.652 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.0008716/0.0008715, allocations: 98.48 kB / 0.7509 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 8 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2365, allocations: 116.3 MB / 0.9884 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.599/4.835, allocations: 2.079 GB / 3.067 GB, free: 102.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/4.836, allocations: 100.7 kB / 3.067 GB, free: 102.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.177/5.013, allocations: 84.39 MB / 3.15 GB, free: 19.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.965e-06/5.013, allocations: 0 / 3.15 GB, free: 19.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.911e-05/5.013, allocations: 31.94 kB / 3.15 GB, free: 19.07 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.002705/5.015, allocations: 1.457 MB / 3.151 GB, free: 17.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/5.015, allocations: 19.95 kB / 3.151 GB, free: 17.53 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001914/5.016, allocations: 169.2 kB / 3.151 GB, free: 17.36 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0699/5.086, allocations: 14.26 MB / 3.165 GB, free: 3.074 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00234/5.088, allocations: 1.031 MB / 3.166 GB, free: 2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/5.088, allocations: 94.27 kB / 3.166 GB, free: 1.906 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003093/5.088, allocations: 108 kB / 3.167 GB, free: 1.801 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5868/5.675, allocations: 8.866 MB / 3.175 GB, free: 244.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/5.675, allocations: 0 / 3.175 GB, free: 244.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000281/5.676, allocations: 46.78 kB / 3.175 GB, free: 244.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/5.676, allocations: 29.75 kB / 3.175 GB, free: 244.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06932/5.745, allocations: 16.17 MB / 3.191 GB, free: 244.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03744/5.782, allocations: 10.09 MB / 3.201 GB, free: 243.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03626/5.819, allocations: 9.189 MB / 3.21 GB, free: 242.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006263/5.819, allocations: 0.6019 MB / 3.21 GB, free: 242.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03144/5.851, allocations: 7.993 MB / 3.218 GB, free: 241.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=101): time 4.158e-06/5.851, allocations: 0 / 3.218 GB, free: 241.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=101): time 0.09377/5.945, allocations: 22.04 MB / 3.24 GB, free: 240.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/5.945, allocations: 248.1 kB / 3.24 GB, free: 240.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/5.946, allocations: 0.675 MB / 3.241 GB, free: 240.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005936/5.947, allocations: 45.67 kB / 3.241 GB, free: 240.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005737/5.948, allocations: 469.7 kB / 3.241 GB, free: 240 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005988/5.948, allocations: 333 kB / 3.242 GB, free: 239.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/5.948, allocations: 22.31 kB / 3.242 GB, free: 239.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000213/5.949, allocations: 396 kB / 3.242 GB, free: 239.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03478/5.983, allocations: 7.606 MB / 3.249 GB, free: 239.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03355/6.017, allocations: 7.742 MB / 3.257 GB, free: 238.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03004/6.047, allocations: 6.701 MB / 3.263 GB, free: 238.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/6.047, allocations: 0 / 3.263 GB, free: 238.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.06053/6.108, allocations: 14.72 MB / 3.278 GB, free: 237.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/6.108, allocations: 6.125 kB / 3.278 GB, free: 237.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/6.108, allocations: 0.75 kB / 3.278 GB, free: 237.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006042/6.109, allocations: 89.58 kB / 3.278 GB, free: 237.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01706/6.126, allocations: 3.318 MB / 3.281 GB, free: 237.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/6.128, allocations: 1.532 MB / 3.283 GB, free: 236.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01663/6.144, allocations: 3.12 MB / 3.286 GB, free: 236.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006051/6.145, allocations: 90.53 kB / 3.286 GB, free: 236.1 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 (114): * Single equations (assignments): 113 * 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.001075/6.146, allocations: 301.9 kB / 3.286 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003774/6.146, allocations: 91.06 kB / 3.286 GB, free: 235.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06204/6.208, allocations: 15.21 MB / 3.301 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/6.208, allocations: 12.27 kB / 3.301 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/6.208, allocations: 0.6875 kB / 3.301 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/6.209, allocations: 16.25 kB / 3.301 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06348/6.272, allocations: 17.15 MB / 3.318 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/6.272, allocations: 0 / 3.318 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01663/6.289, allocations: 3.319 MB / 3.321 GB, free: 216.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005481/6.289, allocations: 93.17 kB / 3.321 GB, free: 216.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004794/6.29, allocations: 79.84 kB / 3.321 GB, free: 216.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/6.291, allocations: 1.552 MB / 3.323 GB, free: 214.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/6.291, allocations: 64 / 3.323 GB, free: 214.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05913/6.351, allocations: 14.68 MB / 3.337 GB, free: 200.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/6.352, allocations: 0.6363 MB / 3.338 GB, free: 199.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003718/6.353, allocations: 24.56 kB / 3.338 GB, free: 199.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01637/6.369, allocations: 3.074 MB / 3.341 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002623/6.369, allocations: 88.83 kB / 3.341 GB, free: 196.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004084/6.37, allocations: 99.83 kB / 3.341 GB, free: 196.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007366/6.371, allocations: 0.5459 MB / 3.341 GB, free: 195.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.62e-07/6.371, allocations: 0 / 3.341 GB, free: 195.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002295/6.373, allocations: 0.6978 MB / 3.342 GB, free: 195.1 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 (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.06235/6.435, allocations: 16.19 MB / 3.358 GB, free: 179.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0599/6.495, allocations: 15.47 MB / 3.373 GB, free: 163.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/6.495, allocations: 2.078 kB / 3.373 GB, free: 163.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.02976/6.525, allocations: 7.818 MB / 3.381 GB, free: 155.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/6.527, allocations: 256.6 kB / 3.381 GB, free: 155.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03651/6.563, allocations: 10.76 MB / 3.391 GB, free: 144.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005749/6.564, allocations: 1.147 MB / 3.393 GB, free: 143.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003441/6.567, allocations: 0.6733 MB / 3.393 GB, free: 143.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001709/6.569, allocations: 0.5732 MB / 3.394 GB, free: 142.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.172e-06/6.569, allocations: 3.938 kB / 3.394 GB, free: 142.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07076/6.64, allocations: 49.58 MB / 3.442 GB, free: 93.55 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/6.64, allocations: 259.6 kB / 3.442 GB, free: 93.19 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_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: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_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: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_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