Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.Window.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.Examples.Window,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Window",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Window,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Window",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.666/2.666, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001545/0.001544, allocations: 189.3 kB / 370.8 MB, free: 10.88 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.138/2.138, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001137/0.001137, allocations: 86.97 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006383/0.0006383, allocations: 11.31 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2206, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.86/7.08, allocations: 2.124 GB / 3.102 GB, free: 142.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/7.081, allocations: 97.02 kB / 3.102 GB, free: 142.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.642/8.723, allocations: 239.5 MB / 3.336 GB, free: 239.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.154e-06/8.723, allocations: 0 / 3.336 GB, free: 239.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001245/8.724, allocations: 126.2 kB / 3.336 GB, free: 239.3 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: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 0.3068/9.031, allocations: 71.56 MB / 3.406 GB, free: 203.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/9.031, allocations: 12.02 kB / 3.406 GB, free: 203.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001532/9.032, allocations: 347.8 kB / 3.407 GB, free: 202.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09892/9.131, allocations: 5.209 MB / 3.412 GB, free: 199.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.439/10.57, allocations: 294.7 MB / 3.699 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002467/10.57, allocations: 213 kB / 3.7 GB, free: 220.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001389/10.57, allocations: 291.4 kB / 3.7 GB, free: 220.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01901/10.59, allocations: 4.94 MB / 3.705 GB, free: 218.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.635e-05/10.59, allocations: 0 / 3.705 GB, free: 218.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005391/10.59, allocations: 109.1 kB / 3.705 GB, free: 218.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.503e-05/10.59, allocations: 63.09 kB / 3.705 GB, free: 218.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01875/10.61, allocations: 4.748 MB / 3.71 GB, free: 217.5 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8078/11.42, allocations: 269.4 MB / 3.973 GB, free: 8.289 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01923/11.44, allocations: 4.18 MB / 3.977 GB, free: 4.168 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004913/11.44, allocations: 90.25 kB / 3.977 GB, free: 4.094 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01601/11.45, allocations: 3.385 MB / 3.98 GB, free: 0.7148 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=201): time 6.732e-06/11.45, allocations: 0 / 3.98 GB, free: 0.7148 MB / 0.9792 GB Notification: Performance of matching and sorting (n=201): time 0.8907/12.35, allocations: 16.17 MB / 3.996 GB, free: 267.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004248/12.35, allocations: 432.4 kB / 3.996 GB, free: 267.1 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.07/13.42, allocations: 323.7 MB / 4.312 GB, free: 38.18 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.00142/13.42, allocations: 81.7 kB / 4.312 GB, free: 38.09 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.005936/13.42, allocations: 2.877 MB / 4.315 GB, free: 35.57 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001462/13.42, allocations: 0.662 MB / 4.316 GB, free: 35.06 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/13.43, allocations: 56 kB / 4.316 GB, free: 35 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000312/13.43, allocations: 423.7 kB / 4.316 GB, free: 34.62 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02427/13.45, allocations: 4.885 MB / 4.321 GB, free: 30.72 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02484/13.48, allocations: 5.435 MB / 4.326 GB, free: 26.17 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02414/13.5, allocations: 4.884 MB / 4.331 GB, free: 22.15 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.847e-05/13.5, allocations: 2.438 kB / 4.331 GB, free: 22.15 MB / 0.9792 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.104/13.6, allocations: 13.28 MB / 4.344 GB, free: 11.35 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009483/13.6, allocations: 3.362 MB / 4.348 GB, free: 7.824 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.8458/14.45, allocations: 13.92 MB / 4.361 GB, free: 264.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3724/14.82, allocations: 47.12 MB / 4.407 GB, free: 264.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01446/14.84, allocations: 1.21 MB / 4.408 GB, free: 264.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02235/14.86, allocations: 9.167 MB / 4.417 GB, free: 259.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04977/14.91, allocations: 1.618 MB / 4.419 GB, free: 259.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/14.91, allocations: 186 kB / 4.419 GB, free: 259.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/14.91, allocations: 3.219 kB / 4.419 GB, free: 259.9 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05961/14.97, allocations: 11.75 MB / 4.43 GB, free: 259.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05213/15.02, allocations: 10.52 MB / 4.441 GB, free: 259.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008803/15.03, allocations: 1.499 MB / 4.442 GB, free: 259.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01795/15.05, allocations: 1.469 MB / 4.444 GB, free: 259.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0276/15.08, allocations: 13.37 MB / 4.457 GB, free: 253.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05007/15.13, allocations: 1.573 MB / 4.458 GB, free: 253.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001478/15.13, allocations: 186.9 kB / 4.458 GB, free: 253.7 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (257): * Single equations (assignments): 252 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 49,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.007296/15.14, allocations: 2.599 MB / 4.461 GB, free: 252.9 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0379/15.17, allocations: 0.5991 MB / 4.462 GB, free: 252.6 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04827/15.22, allocations: 9.758 MB / 4.471 GB, free: 249.6 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.236e-05/15.22, allocations: 29.28 kB / 4.471 GB, free: 249.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/15.22, allocations: 0 / 4.471 GB, free: 249.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.872e-05/15.22, allocations: 10.55 kB / 4.471 GB, free: 249.6 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3404/15.56, allocations: 137.4 MB / 4.605 GB, free: 128.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.1078/15.67, allocations: 11.62 MB / 4.617 GB, free: 117 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007571/15.68, allocations: 0.629 MB / 4.617 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2994/15.98, allocations: 25.79 MB / 4.642 GB, free: 90.65 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008892/15.98, allocations: 91.88 kB / 4.643 GB, free: 90.56 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02124/16, allocations: 9.084 MB / 4.651 GB, free: 81.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/16, allocations: 0 / 4.651 GB, free: 81.09 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1468/16.15, allocations: 12.42 MB / 4.664 GB, free: 68.7 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2011/16.35, allocations: 64.62 MB / 4.727 GB, free: 4.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04361/16.39, allocations: 56 kB / 4.727 GB, free: 4.016 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0438/16.44, allocations: 1.093 MB / 4.728 GB, free: 2.926 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009242/16.44, allocations: 138.2 kB / 4.728 GB, free: 2.797 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005503/16.44, allocations: 132.1 kB / 4.728 GB, free: 2.668 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 1.204/17.64, allocations: 237.6 MB / 4.96 GB, free: 125.5 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.172e-06/17.64, allocations: 1.203 kB / 4.96 GB, free: 125.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.1157/17.76, allocations: 32.94 MB / 4.992 GB, free: 92.94 MB / 0.9792 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 (134): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 57,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.08399/17.84, allocations: 10.83 MB / 5.003 GB, free: 84.71 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.06688/17.91, allocations: 17.02 MB / 5.019 GB, free: 70.46 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/17.91, allocations: 2.531 kB / 5.019 GB, free: 70.46 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.01895/17.93, allocations: 4.342 MB / 5.024 GB, free: 66.84 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03443/17.96, allocations: 0.8794 MB / 5.025 GB, free: 66.11 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.112/18.07, allocations: 24.94 MB / 5.049 GB, free: 42.68 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01343/18.09, allocations: 3.983 MB / 5.053 GB, free: 39.74 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.08819/18.18, allocations: 34.2 MB / 5.086 GB, free: 6.559 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.8476/19.02, allocations: 14.29 MB / 5.1 GB, free: 243.2 MB / 0.9792 GB Notification: Performance of SimCode: time 1.693e-06/19.02, allocations: 1.844 kB / 5.1 GB, free: 243.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.053/26.08, allocations: 1.632 GB / 6.732 GB, free: 481.4 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003085/26.08, allocations: 248.3 kB / 6.732 GB, free: 481.1 MB / 1.214 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_Examples_Window.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Window.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Window.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Window_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 -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_Examples_Window_functions.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Window_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_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Window_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_Examples_Window_functions.o' failed make: *** [Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.o] Error 1