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.705/1.705, allocations: 289.7 MB / 302.2 MB, free: 2.062 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.001093/0.001093, allocations: 183.3 kB / 371.6 MB, free: 3.395 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.72/1.72, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001011/0.001011, allocations: 92.25 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.025e-05/4.046e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.2988, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.792/6.091, allocations: 2.079 GB / 3.059 GB, free: 132 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/6.091, allocations: 98.83 kB / 3.059 GB, free: 131.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2142/6.305, allocations: 84.06 MB / 3.141 GB, free: 55.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.096e-06/6.305, allocations: 0 / 3.141 GB, free: 55.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001308/6.305, allocations: 35.94 kB / 3.141 GB, free: 55.79 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.003451/6.309, allocations: 1.307 MB / 3.142 GB, free: 54.43 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/6.309, allocations: 8.031 kB / 3.142 GB, free: 54.42 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003299/6.309, allocations: 177.8 kB / 3.142 GB, free: 54.24 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07315/6.382, allocations: 14.26 MB / 3.156 GB, free: 39.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002625/6.385, allocations: 1.031 MB / 3.157 GB, free: 38.88 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/6.385, allocations: 90.27 kB / 3.157 GB, free: 38.79 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007511/6.386, allocations: 112 kB / 3.157 GB, free: 38.68 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004857/6.391, allocations: 2.825 MB / 3.16 GB, free: 35.79 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/6.391, allocations: 0 / 3.16 GB, free: 35.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002724/6.391, allocations: 48 kB / 3.16 GB, free: 35.75 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/6.391, allocations: 31.95 kB / 3.16 GB, free: 35.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006051/6.397, allocations: 4.115 MB / 3.164 GB, free: 31.59 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03706/6.434, allocations: 10.09 MB / 3.174 GB, free: 21.42 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00503/6.439, allocations: 2.383 MB / 3.177 GB, free: 19.03 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00215/6.442, allocations: 1.507 MB / 3.178 GB, free: 17.52 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004622/6.442, allocations: 0.6022 MB / 3.179 GB, free: 16.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002624/6.445, allocations: 1.972 MB / 3.18 GB, free: 14.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=101): time 3.817e-06/6.445, allocations: 0 / 3.18 GB, free: 14.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=101): time 0.005522/6.45, allocations: 2.789 MB / 3.183 GB, free: 11.99 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/6.45, allocations: 244.3 kB / 3.183 GB, free: 11.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009348/6.451, allocations: 0.6688 MB / 3.184 GB, free: 11.02 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002618/6.452, allocations: 45.7 kB / 3.184 GB, free: 10.97 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/6.452, allocations: 472.3 kB / 3.185 GB, free: 10.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004049/6.452, allocations: 331.1 kB / 3.185 GB, free: 10.18 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/6.453, allocations: 20 kB / 3.185 GB, free: 10.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001237/6.453, allocations: 394.7 kB / 3.185 GB, free: 9.762 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002191/6.455, allocations: 1.576 MB / 3.187 GB, free: 8.184 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002251/6.457, allocations: 1.719 MB / 3.189 GB, free: 6.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/6.459, allocations: 1.052 MB / 3.19 GB, free: 5.383 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/6.459, allocations: 4 kB / 3.19 GB, free: 5.379 MB / 0.948 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.005389/6.464, allocations: 3.062 MB / 3.193 GB, free: 2.301 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/6.464, allocations: 4 kB / 3.193 GB, free: 2.297 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/6.464, allocations: 0 / 3.193 GB, free: 2.297 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005812/6.465, allocations: 84.84 kB / 3.193 GB, free: 2.211 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.647/7.112, allocations: 3.318 MB / 3.196 GB, free: 243.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/7.114, allocations: 1.51 MB / 3.197 GB, free: 242.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01885/7.133, allocations: 3.115 MB / 3.2 GB, free: 242.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008272/7.134, allocations: 94.42 kB / 3.2 GB, free: 242.6 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 () * 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.0006968/7.135, allocations: 156.6 kB / 3.201 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005522/7.135, allocations: 101.1 kB / 3.201 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009413/7.145, allocations: 3.554 MB / 3.204 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/7.145, allocations: 17.48 kB / 3.204 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/7.145, allocations: 1.5 kB / 3.204 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/7.145, allocations: 6.859 kB / 3.204 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/7.157, allocations: 5.482 MB / 3.21 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/7.157, allocations: 0 / 3.21 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01912/7.176, allocations: 3.327 MB / 3.213 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006004/7.177, allocations: 83.78 kB / 3.213 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006812/7.178, allocations: 88.81 kB / 3.213 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/7.18, allocations: 1.54 MB / 3.214 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/7.18, allocations: 6.984 kB / 3.214 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006917/7.187, allocations: 3.006 MB / 3.217 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/7.188, allocations: 0.6333 MB / 3.218 GB, free: 240.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004226/7.189, allocations: 29.95 kB / 3.218 GB, free: 240.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01775/7.206, allocations: 3.086 MB / 3.221 GB, free: 240.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000382/7.207, allocations: 83.72 kB / 3.221 GB, free: 240.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005495/7.207, allocations: 89.09 kB / 3.221 GB, free: 240.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001146/7.209, allocations: 0.5509 MB / 3.222 GB, free: 240 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.91e-07/7.209, allocations: 0 / 3.222 GB, free: 240 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00373/7.212, allocations: 0.6792 MB / 3.222 GB, free: 240 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) * 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.009056/7.221, allocations: 4.492 MB / 3.227 GB, free: 239.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006408/7.228, allocations: 3.422 MB / 3.23 GB, free: 239 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/7.228, allocations: 0 / 3.23 GB, free: 239 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002984/7.231, allocations: 1.786 MB / 3.232 GB, free: 238.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/7.233, allocations: 255.8 kB / 3.232 GB, free: 238.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007095/7.24, allocations: 3.136 MB / 3.235 GB, free: 238.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/7.24, allocations: 1.141 MB / 3.236 GB, free: 237.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003497/7.244, allocations: 0.6833 MB / 3.237 GB, free: 237.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001769/7.245, allocations: 0.5714 MB / 3.238 GB, free: 237.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.533e-06/7.245, allocations: 0 / 3.238 GB, free: 237.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09294/7.338, allocations: 51.75 MB / 3.288 GB, free: 234.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/7.339, allocations: 224.8 kB / 3.288 GB, free: 234.2 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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 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: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 -falign-functions -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 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: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_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