Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window.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.Window,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_Examples_Window",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Window,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.775/1.775, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.00114/0.00114, allocations: 177.1 kB / 377.1 MB, free: 1.527 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.516/1.516, allocations: 205.4 MB / 0.6366 GB, free: 8.613 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.0008857/0.0008855, allocations: 94.97 kB / 0.7509 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003797, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2765, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.275/5.552, allocations: 2.126 GB / 3.114 GB, free: 71.36 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/5.552, allocations: 101.1 kB / 3.114 GB, free: 71.31 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.039/6.591, allocations: 239.9 MB / 3.349 GB, free: 202.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.699e-06/6.591, allocations: 0 / 3.349 GB, free: 202.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001237/6.592, allocations: 128.3 kB / 3.349 GB, free: 202.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.1837/6.776, allocations: 71.57 MB / 3.419 GB, free: 139 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/6.776, allocations: 12.02 kB / 3.419 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00149/6.778, allocations: 346.2 kB / 3.419 GB, free: 138.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05401/6.832, allocations: 5.219 MB / 3.424 GB, free: 133.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.876/7.708, allocations: 294.7 MB / 3.712 GB, free: 155.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/7.708, allocations: 212.8 kB / 3.712 GB, free: 155.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008321/7.709, allocations: 288 kB / 3.712 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/7.719, allocations: 4.939 MB / 3.717 GB, free: 150.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.589e-05/7.719, allocations: 3.75 kB / 3.717 GB, free: 150.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003234/7.72, allocations: 104 kB / 3.717 GB, free: 150.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.951e-05/7.72, allocations: 60.89 kB / 3.717 GB, free: 150.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009825/7.73, allocations: 4.75 MB / 3.722 GB, free: 147 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.9818/8.711, allocations: 269.4 MB / 3.985 GB, free: 235.9 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/8.723, allocations: 4.171 MB / 3.989 GB, free: 235.8 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003747/8.724, allocations: 95.08 kB / 3.989 GB, free: 235.8 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009231/8.733, allocations: 3.387 MB / 3.993 GB, free: 235.7 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=201): time 4.659e-06/8.733, allocations: 0.9375 kB / 3.993 GB, free: 235.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=201): time 0.07332/8.806, allocations: 16.17 MB / 4.008 GB, free: 232.8 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002777/8.806, allocations: 437.4 kB / 4.009 GB, free: 232.4 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.246/10.05, allocations: 327 MB / 4.328 GB, free: 232.1 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001602/10.05, allocations: 80.23 kB / 4.328 GB, free: 232.1 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.005951/10.06, allocations: 2.888 MB / 4.331 GB, free: 231.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001687/10.06, allocations: 0.6634 MB / 4.332 GB, free: 231.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004357/10.06, allocations: 51.31 kB / 4.332 GB, free: 231.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002883/10.06, allocations: 422.3 kB / 4.332 GB, free: 231.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01527/10.08, allocations: 4.889 MB / 4.337 GB, free: 231.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01605/10.09, allocations: 5.434 MB / 4.342 GB, free: 230.9 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01466/10.11, allocations: 4.882 MB / 4.347 GB, free: 230.8 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.991e-05/10.11, allocations: 0 / 4.347 GB, free: 230.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.06314/10.17, allocations: 13.29 MB / 4.36 GB, free: 230.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.000991/10.17, allocations: 3.352 MB / 4.363 GB, free: 226.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06441/10.24, allocations: 13.9 MB / 4.377 GB, free: 225.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1933/10.43, allocations: 47.11 MB / 4.423 GB, free: 224.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007911/10.44, allocations: 1.215 MB / 4.424 GB, free: 224.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/10.45, allocations: 9.161 MB / 4.433 GB, free: 217.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03174/10.48, allocations: 1.619 MB / 4.435 GB, free: 217.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001625/10.49, allocations: 189.7 kB / 4.435 GB, free: 217.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/10.49, allocations: 5.031 kB / 4.435 GB, free: 217.6 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03307/10.52, allocations: 11.74 MB / 4.446 GB, free: 214.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02644/10.55, allocations: 10.52 MB / 4.457 GB, free: 210.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004914/10.55, allocations: 1.504 MB / 4.458 GB, free: 209.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00921/10.56, allocations: 1.469 MB / 4.459 GB, free: 208.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01705/10.58, allocations: 13.37 MB / 4.472 GB, free: 195.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03194/10.61, allocations: 1.57 MB / 4.474 GB, free: 194.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001796/10.61, allocations: 190.8 kB / 4.474 GB, free: 194.5 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.008238/10.62, allocations: 2.598 MB / 4.477 GB, free: 192.1 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02427/10.64, allocations: 0.6017 MB / 4.477 GB, free: 191.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03009/10.67, allocations: 9.756 MB / 4.487 GB, free: 183.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/10.67, allocations: 20 kB / 4.487 GB, free: 183.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/10.67, allocations: 9.75 kB / 4.487 GB, free: 183.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-05/10.67, allocations: 7.734 kB / 4.487 GB, free: 183.7 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1874/10.86, allocations: 137.4 MB / 4.621 GB, free: 48.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.05289/10.91, allocations: 11.61 MB / 4.632 GB, free: 37.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004004/10.92, allocations: 0.6267 MB / 4.633 GB, free: 36.59 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1537/11.07, allocations: 25.79 MB / 4.658 GB, free: 10.81 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009291/11.07, allocations: 90.48 kB / 4.658 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/11.08, allocations: 9.078 MB / 4.667 GB, free: 1.262 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/11.08, allocations: 0 / 4.667 GB, free: 1.262 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6407/11.72, allocations: 12.4 MB / 4.679 GB, free: 233.7 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1263/11.85, allocations: 64.62 MB / 4.742 GB, free: 233.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02853/11.88, allocations: 61.16 kB / 4.742 GB, free: 233.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0296/11.91, allocations: 1.096 MB / 4.744 GB, free: 233.4 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001107/11.91, allocations: 138.4 kB / 4.744 GB, free: 233.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004989/11.91, allocations: 136.8 kB / 4.744 GB, free: 233.4 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.2773/12.19, allocations: 237.7 MB / 4.976 GB, free: 44.7 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8.01e-07/12.19, allocations: 0 / 4.976 GB, free: 44.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.08153/12.27, allocations: 32.94 MB / 5.008 GB, free: 12.07 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.05218/12.32, allocations: 10.82 MB / 5.019 GB, free: 3.723 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.6208/12.94, allocations: 19.54 MB / 5.038 GB, free: 249.3 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/12.94, allocations: 3.031 kB / 5.038 GB, free: 249.3 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01035/12.95, allocations: 4.333 MB / 5.042 GB, free: 249 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02407/12.98, allocations: 0.872 MB / 5.043 GB, free: 249 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07144/13.05, allocations: 24.94 MB / 5.067 GB, free: 237.2 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006497/13.06, allocations: 3.988 MB / 5.071 GB, free: 236.3 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.06023/13.12, allocations: 34.2 MB / 5.104 GB, free: 236.1 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06746/13.18, allocations: 12.25 MB / 5.116 GB, free: 236.1 MB / 0.9948 GB Notification: Performance of SimCode: time 1.493e-06/13.18, allocations: 2.406 kB / 5.116 GB, free: 236.1 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.928/19.11, allocations: 1.632 GB / 6.748 GB, free: 106.8 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/19.11, allocations: 240 kB / 6.748 GB, free: 106.5 MB / 1.198 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_Window.o Buildings_8_Buildings_HeatTransfer_Windows_Examples_Window.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_Examples_Window.c:7: In file included from ./Buildings_8_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 -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_Window_functions.o Buildings_8_Buildings_HeatTransfer_Windows_Examples_Window_functions.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:2: In file included from ./Buildings_8_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_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:7: In file included from ./Buildings_8_Buildings_HeatTransfer_Windows_Examples_Window_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_Window_functions.o] Error 1