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.766/1.766, allocations: 289.7 MB / 302.3 MB, free: 2.156 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.001271/0.001271, allocations: 180.4 kB / 371.6 MB, free: 3.398 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.73/1.73, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.0009648/0.0009649, allocations: 93.33 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.542e-05/3.546e-05, allocations: 3.984 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3073, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.608/6.915, allocations: 2.126 GB / 3.106 GB, free: 68.47 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/6.916, allocations: 92.42 kB / 3.106 GB, free: 68.43 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.528/8.444, allocations: 239.6 MB / 3.34 GB, free: 203.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.134e-06/8.444, allocations: 3.938 kB / 3.34 GB, free: 203.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001427/8.445, allocations: 122.7 kB / 3.34 GB, free: 203.7 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.04448/8.49, allocations: 5.557 MB / 3.345 GB, free: 199.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.374e-05/8.49, allocations: 6.938 kB / 3.345 GB, free: 199.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001953/8.492, allocations: 350 kB / 3.346 GB, free: 199.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0618/8.554, allocations: 5.212 MB / 3.351 GB, free: 197.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.324/9.878, allocations: 293.5 MB / 3.637 GB, free: 202.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002758/9.878, allocations: 215.5 kB / 3.638 GB, free: 202.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001763/9.88, allocations: 286.3 kB / 3.638 GB, free: 202.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008313/9.888, allocations: 4.268 MB / 3.642 GB, free: 200.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.578e-05/9.888, allocations: 3.562 kB / 3.642 GB, free: 200.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003239/9.888, allocations: 103.7 kB / 3.642 GB, free: 200.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.209e-05/9.889, allocations: 64.7 kB / 3.642 GB, free: 200.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005896/9.894, allocations: 4.011 MB / 3.646 GB, free: 199.1 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.5357/10.43, allocations: 269.4 MB / 3.909 GB, free: 8.281 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008448/10.44, allocations: 3.455 MB / 3.913 GB, free: 4.863 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004717/10.44, allocations: 2.548 MB / 3.915 GB, free: 2.32 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003489/10.44, allocations: 91.53 kB / 3.915 GB, free: 2.238 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.687/11.13, allocations: 2.743 MB / 3.918 GB, free: 247.3 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=201): time 6.513e-06/11.13, allocations: 0 / 3.918 GB, free: 247.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=201): time 0.03683/11.17, allocations: 6.974 MB / 3.925 GB, free: 247.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003641/11.17, allocations: 431.1 kB / 3.925 GB, free: 246.8 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6858/11.85, allocations: 322.5 MB / 4.24 GB, free: 31.55 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001505/11.86, allocations: 88.55 kB / 4.24 GB, free: 31.46 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.004951/11.86, allocations: 2.88 MB / 4.243 GB, free: 28.93 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001554/11.86, allocations: 0.6635 MB / 4.244 GB, free: 28.42 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005013/11.86, allocations: 52 kB / 4.244 GB, free: 28.37 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002465/11.86, allocations: 419.8 kB / 4.244 GB, free: 27.99 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004808/11.87, allocations: 3.674 MB / 4.248 GB, free: 24.74 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005975/11.87, allocations: 4.219 MB / 4.252 GB, free: 20.84 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006382/11.88, allocations: 3.669 MB / 4.255 GB, free: 17.66 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.147e-05/11.88, allocations: 0 / 4.255 GB, free: 17.66 MB / 0.9792 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.04076/11.92, allocations: 10.29 MB / 4.265 GB, free: 8.684 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008724/11.92, allocations: 3.364 MB / 4.269 GB, free: 5.156 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04914/11.97, allocations: 12.05 MB / 4.28 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.971/12.94, allocations: 47.76 MB / 4.327 GB, free: 261.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00778/12.95, allocations: 1.217 MB / 4.328 GB, free: 261.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009652/12.96, allocations: 8.539 MB / 4.337 GB, free: 256.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03183/12.99, allocations: 1.616 MB / 4.338 GB, free: 256.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001998/12.99, allocations: 187.9 kB / 4.338 GB, free: 256.9 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/12.99, allocations: 5.594 kB / 4.338 GB, free: 256.9 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0172/13.01, allocations: 9.311 MB / 4.347 GB, free: 256.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01497/13.03, allocations: 8.475 MB / 4.356 GB, free: 256.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004775/13.03, allocations: 1.487 MB / 4.357 GB, free: 256.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009277/13.04, allocations: 1.474 MB / 4.359 GB, free: 256.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01936/13.06, allocations: 12.97 MB / 4.371 GB, free: 251 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03279/13.09, allocations: 1.566 MB / 4.373 GB, free: 250.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001674/13.09, allocations: 190.8 kB / 4.373 GB, free: 250.9 MB / 0.9948 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 () * 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.002983/13.1, allocations: 400.6 kB / 4.373 GB, free: 250.8 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02611/13.12, allocations: 0.6014 MB / 4.374 GB, free: 250.5 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0225/13.15, allocations: 7.897 MB / 4.382 GB, free: 250.2 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.208e-05/13.15, allocations: 23.98 kB / 4.382 GB, free: 250.2 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-05/13.15, allocations: 7.547 kB / 4.382 GB, free: 250.2 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.956e-05/13.15, allocations: 8.141 kB / 4.382 GB, free: 250.2 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2331/13.38, allocations: 135.6 MB / 4.514 GB, free: 184.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04556/13.42, allocations: 10.08 MB / 4.524 GB, free: 174.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004171/13.43, allocations: 0.6283 MB / 4.525 GB, free: 173.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.142/13.57, allocations: 25.39 MB / 4.549 GB, free: 148.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001093/13.57, allocations: 83.92 kB / 4.549 GB, free: 148.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009513/13.58, allocations: 8.471 MB / 4.558 GB, free: 139.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/13.58, allocations: 0.6562 kB / 4.558 GB, free: 139.6 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07329/13.65, allocations: 10.88 MB / 4.568 GB, free: 128.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1229/13.78, allocations: 64.61 MB / 4.631 GB, free: 64.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02975/13.81, allocations: 63.95 kB / 4.632 GB, free: 64.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02886/13.84, allocations: 1.089 MB / 4.633 GB, free: 62.96 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001073/13.84, allocations: 137.3 kB / 4.633 GB, free: 62.84 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004687/13.84, allocations: 131.9 kB / 4.633 GB, free: 62.71 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.226/15.06, allocations: 236.4 MB / 4.864 GB, free: 185.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.373e-06/15.06, allocations: 0 / 4.864 GB, free: 185.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.08351/15.15, allocations: 32.94 MB / 4.896 GB, free: 152.8 MB / 0.9948 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 (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.04907/15.2, allocations: 9.398 MB / 4.905 GB, free: 145.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.02502/15.22, allocations: 14.54 MB / 4.919 GB, free: 132.3 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/15.22, allocations: 0 / 4.919 GB, free: 132.3 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.005747/15.23, allocations: 3.686 MB / 4.923 GB, free: 129 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02482/15.25, allocations: 0.8826 MB / 4.924 GB, free: 128.3 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05898/15.31, allocations: 14.01 MB / 4.937 GB, free: 116.1 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004232/15.32, allocations: 4.003 MB / 4.941 GB, free: 113.1 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.1318/15.45, allocations: 87.17 MB / 5.026 GB, free: 29.7 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006701/15.45, allocations: 2.567 MB / 5.029 GB, free: 27.36 MB / 0.9948 GB Notification: Performance of SimCode: time 1.463e-06/15.45, allocations: 4 kB / 5.029 GB, free: 27.36 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.686/22.14, allocations: 1.65 GB / 6.679 GB, free: 473.6 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/22.14, allocations: 219.3 kB / 6.679 GB, free: 473.3 MB / 1.229 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_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: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_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: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_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