Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.Window.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Window,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.281/2.281, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 176.6 kB / 325.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.294/2.294, allocations: 205.4 MB / 0.5764 GB, free: 21.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001181/0.00118, allocations: 102.1 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006325/0.0006324, allocations: 11.28 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.209, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.19/7.399, allocations: 2.242 GB / 3.141 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/7.399, allocations: 99.06 kB / 3.141 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.9581/8.357, allocations: 239.1 MB / 3.374 GB, free: 50.98 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.966e-06/8.357, allocations: 0 / 3.374 GB, free: 50.98 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001174/8.358, allocations: 123.9 kB / 3.375 GB, free: 50.86 MB / 0.8855 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.9613/9.32, allocations: 71.54 MB / 3.444 GB, free: 191.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/9.32, allocations: 9.656 kB / 3.444 GB, free: 191.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001615/9.321, allocations: 346.1 kB / 3.445 GB, free: 191.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09541/9.417, allocations: 5.214 MB / 3.45 GB, free: 191.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7181/10.13, allocations: 298.2 MB / 3.741 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002794/10.14, allocations: 212.8 kB / 3.741 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001316/10.14, allocations: 288 kB / 3.742 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01987/10.16, allocations: 4.941 MB / 3.746 GB, free: 7.07 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.179e-05/10.16, allocations: 0 / 3.746 GB, free: 7.07 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000605/10.16, allocations: 108 kB / 3.746 GB, free: 6.965 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.916e-05/10.16, allocations: 64.94 kB / 3.747 GB, free: 6.906 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02375/10.18, allocations: 4.747 MB / 3.751 GB, free: 3.109 MB / 0.9011 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 1.531/11.71, allocations: 270.3 MB / 4.015 GB, free: 84.77 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0167/11.73, allocations: 4.171 MB / 4.019 GB, free: 80.65 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004345/11.73, allocations: 91.06 kB / 4.019 GB, free: 80.57 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01391/11.74, allocations: 3.378 MB / 4.023 GB, free: 77.2 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=201): time 7.214e-06/11.74, allocations: 6.062 kB / 4.023 GB, free: 77.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=201): time 0.1246/11.87, allocations: 16.18 MB / 4.038 GB, free: 61.13 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003301/11.87, allocations: 429.9 kB / 4.039 GB, free: 60.64 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.709/13.58, allocations: 323.7 MB / 4.355 GB, free: 55.64 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001412/13.58, allocations: 82.64 kB / 4.355 GB, free: 55.55 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.005273/13.59, allocations: 2.878 MB / 4.358 GB, free: 53.1 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.00148/13.59, allocations: 0.6693 MB / 4.358 GB, free: 52.58 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008743/13.59, allocations: 52 kB / 4.359 GB, free: 52.53 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002687/13.59, allocations: 421.8 kB / 4.359 GB, free: 52.15 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02356/13.61, allocations: 4.891 MB / 4.364 GB, free: 48.25 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02419/13.64, allocations: 5.437 MB / 4.369 GB, free: 43.7 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02351/13.66, allocations: 4.878 MB / 4.374 GB, free: 39.68 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.925e-05/13.66, allocations: 4 kB / 4.374 GB, free: 39.68 MB / 0.9011 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.09741/13.76, allocations: 13.28 MB / 4.387 GB, free: 28.88 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009243/13.76, allocations: 3.354 MB / 4.39 GB, free: 25.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1073/13.86, allocations: 13.91 MB / 4.404 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041/14.91, allocations: 47.92 MB / 4.45 GB, free: 203.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01408/14.92, allocations: 1.218 MB / 4.452 GB, free: 203.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02339/14.94, allocations: 9.153 MB / 4.461 GB, free: 198.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04728/14.99, allocations: 1.62 MB / 4.462 GB, free: 198.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001541/14.99, allocations: 190.2 kB / 4.462 GB, free: 198.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/14.99, allocations: 4.688 kB / 4.462 GB, free: 198.8 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.058/15.05, allocations: 11.75 MB / 4.474 GB, free: 198.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05018/15.1, allocations: 10.52 MB / 4.484 GB, free: 198.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008501/15.11, allocations: 1.491 MB / 4.486 GB, free: 198.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01753/15.13, allocations: 1.47 MB / 4.487 GB, free: 198.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02658/15.15, allocations: 13.36 MB / 4.5 GB, free: 192.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04614/15.2, allocations: 1.572 MB / 4.502 GB, free: 192.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001512/15.2, allocations: 183.1 kB / 4.502 GB, free: 192.7 MB / 0.9011 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.007044/15.21, allocations: 2.607 MB / 4.504 GB, free: 192.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03522/15.24, allocations: 0.6012 MB / 4.505 GB, free: 192.2 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04722/15.29, allocations: 9.758 MB / 4.514 GB, free: 191.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-05/15.29, allocations: 17.97 kB / 4.514 GB, free: 191.9 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/15.29, allocations: 3.312 kB / 4.514 GB, free: 191.9 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-05/15.29, allocations: 7.266 kB / 4.514 GB, free: 191.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3329/15.62, allocations: 137.5 MB / 4.649 GB, free: 119.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.104/15.73, allocations: 11.63 MB / 4.66 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007443/15.74, allocations: 0.628 MB / 4.661 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2935/16.03, allocations: 25.8 MB / 4.686 GB, free: 81.81 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008782/16.03, allocations: 87.92 kB / 4.686 GB, free: 81.73 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02044/16.05, allocations: 9.078 MB / 4.695 GB, free: 72.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/16.05, allocations: 4.062 kB / 4.695 GB, free: 72.26 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1396/16.19, allocations: 12.42 MB / 4.707 GB, free: 59.88 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.8611/17.05, allocations: 64.62 MB / 4.77 GB, free: 197.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04154/17.09, allocations: 55.59 kB / 4.77 GB, free: 197.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04175/17.13, allocations: 1.093 MB / 4.771 GB, free: 197.7 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/17.14, allocations: 133.9 kB / 4.771 GB, free: 197.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006812/17.14, allocations: 135.4 kB / 4.771 GB, free: 197.7 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.44/17.58, allocations: 237.7 MB / 5.003 GB, free: 70.87 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8.01e-07/17.58, allocations: 0 / 5.003 GB, free: 70.87 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.1075/17.68, allocations: 32.94 MB / 5.036 GB, free: 38.24 MB / 0.9011 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.08019/17.76, allocations: 10.82 MB / 5.046 GB, free: 29.94 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.06681/17.83, allocations: 17.02 MB / 5.063 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/17.83, allocations: 4 kB / 5.063 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.01746/17.85, allocations: 4.335 MB / 5.067 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03199/17.88, allocations: 0.8707 MB / 5.068 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09113/17.97, allocations: 24.95 MB / 5.092 GB, free: 4.066 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01177/17.98, allocations: 3.981 MB / 5.096 GB, free: 1.121 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.7438/18.73, allocations: 34.4 MB / 5.13 GB, free: 221 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1084/18.84, allocations: 12.25 MB / 5.142 GB, free: 221 MB / 0.9323 GB Notification: Performance of SimCode: time 1.493e-06/18.84, allocations: 0 / 5.142 GB, free: 221 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.939/25.77, allocations: 1.632 GB / 6.773 GB, free: 27.7 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/25.78, allocations: 252 kB / 6.774 GB, free: 27.37 MB / 1.12 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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window.c:7: In file included from ./Buildings_7_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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:2: In file included from ./Buildings_7_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_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.o] Error 1