Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.463/4.463, allocations: 464.6 MB / 476.8 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.762e-05/3.766e-05, allocations: 7.984 kB / 0.5732 GB, free: 5.598 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.239, allocations: 107.1 MB / 0.6778 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.345/7.584, allocations: 2.243 GB / 2.921 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/7.585, allocations: 90.14 kB / 2.921 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.815/9.399, allocations: 262.7 MB / 3.178 GB, free: 194.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.877e-06/9.399, allocations: 0 / 3.178 GB, free: 194.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001166/9.4, allocations: 125.4 kB / 3.178 GB, free: 194.5 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: 614 * Number of variables: 614 Notification: Performance of Generate backend data structure: time 0.0519/9.452, allocations: 5.533 MB / 3.183 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/9.452, allocations: 15.19 kB / 3.183 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001499/9.454, allocations: 341.2 kB / 3.183 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09733/9.551, allocations: 5.168 MB / 3.189 GB, free: 191.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.315/10.87, allocations: 295 MB / 3.477 GB, free: 202.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003849/10.87, allocations: 207.5 kB / 3.477 GB, free: 202.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002072/10.87, allocations: 280.7 kB / 3.477 GB, free: 202.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01544/10.88, allocations: 4.21 MB / 3.481 GB, free: 202.4 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001539/10.88, allocations: 6.891 kB / 3.481 GB, free: 202.4 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00137/10.89, allocations: 98.61 kB / 3.481 GB, free: 202.4 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/10.89, allocations: 58.28 kB / 3.481 GB, free: 202.4 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01255/10.9, allocations: 3.939 MB / 3.485 GB, free: 202.3 MB / 0.9011 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.9189/11.82, allocations: 272.8 MB / 3.752 GB, free: 44.11 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007185/11.83, allocations: 2.874 MB / 3.754 GB, free: 41.23 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00467/11.83, allocations: 2.173 MB / 3.757 GB, free: 39.06 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003492/11.83, allocations: 86.08 kB / 3.757 GB, free: 38.99 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004866/11.84, allocations: 2.347 MB / 3.759 GB, free: 36.61 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=175): time 5.26e-06/11.84, allocations: 0.9375 kB / 3.759 GB, free: 36.61 MB / 0.9011 GB Notification: Performance of matching and sorting (n=175): time 0.0502/11.89, allocations: 6.215 MB / 3.765 GB, free: 30.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003018/11.89, allocations: 0.5161 MB / 3.766 GB, free: 29.79 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.777/13.66, allocations: 322.7 MB / 4.081 GB, free: 51.94 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0018/13.67, allocations: 77.7 kB / 4.081 GB, free: 51.86 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00839/13.67, allocations: 2.943 MB / 4.084 GB, free: 49.46 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001759/13.68, allocations: 0.5796 MB / 4.084 GB, free: 49.02 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001612/13.68, allocations: 52 kB / 4.084 GB, free: 48.97 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0005322/13.68, allocations: 415.2 kB / 4.085 GB, free: 48.59 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01253/13.69, allocations: 3.265 MB / 4.088 GB, free: 45.71 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01363/13.7, allocations: 4.264 MB / 4.092 GB, free: 41.52 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/13.72, allocations: 3.285 MB / 4.095 GB, free: 38.75 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.736e-05/13.72, allocations: 7.438 kB / 4.095 GB, free: 38.75 MB / 0.9167 GB Notification: Performance of matching and sorting (n=334) (initialization): time 0.08685/13.8, allocations: 9.643 MB / 4.105 GB, free: 30.54 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003568/13.81, allocations: 12.63 MB / 4.117 GB, free: 17.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1174/13.92, allocations: 10.32 MB / 4.127 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201/15.13, allocations: 49.53 MB / 4.175 GB, free: 219.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01442/15.14, allocations: 1.218 MB / 4.177 GB, free: 219.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01464/15.15, allocations: 8.595 MB / 4.185 GB, free: 215.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04966/15.2, allocations: 1.693 MB / 4.187 GB, free: 215.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001455/15.21, allocations: 195.5 kB / 4.187 GB, free: 215.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/15.21, allocations: 7.922 kB / 4.187 GB, free: 215.2 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02582/15.23, allocations: 8.575 MB / 4.195 GB, free: 215.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01937/15.25, allocations: 6.548 MB / 4.202 GB, free: 215 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008548/15.26, allocations: 1.539 MB / 4.203 GB, free: 214.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0176/15.28, allocations: 1.473 MB / 4.205 GB, free: 214.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0262/15.3, allocations: 13.04 MB / 4.217 GB, free: 209.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04933/15.35, allocations: 1.622 MB / 4.219 GB, free: 209.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001556/15.35, allocations: 194.3 kB / 4.219 GB, free: 209.4 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * 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 (251): * Single equations (assignments): 246 * 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 {1 2,12 49} Notification: Performance of prepare postOptimizeDAE: time 0.00176/15.36, allocations: 406.9 kB / 4.219 GB, free: 209.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03511/15.39, allocations: 0.6075 MB / 4.22 GB, free: 209 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02096/15.41, allocations: 6.924 MB / 4.227 GB, free: 208.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.456e-05/15.41, allocations: 19.16 kB / 4.227 GB, free: 208.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/15.41, allocations: 0 / 4.227 GB, free: 208.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.885e-05/15.41, allocations: 11.42 kB / 4.227 GB, free: 208.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3475/15.76, allocations: 134.6 MB / 4.358 GB, free: 143.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.08617/15.85, allocations: 9.429 MB / 4.367 GB, free: 134.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006646/15.85, allocations: 0.5456 MB / 4.368 GB, free: 134.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3042/16.16, allocations: 25.42 MB / 4.393 GB, free: 109 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009786/16.16, allocations: 75.92 kB / 4.393 GB, free: 108.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02064/16.18, allocations: 8.473 MB / 4.401 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/16.18, allocations: 4.031 kB / 4.401 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1339/16.31, allocations: 10.27 MB / 4.411 GB, free: 89.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2029/16.52, allocations: 64.57 MB / 4.474 GB, free: 25.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04413/16.56, allocations: 52 kB / 4.474 GB, free: 25.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0517/16.61, allocations: 1.076 MB / 4.475 GB, free: 24.09 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008573/16.61, allocations: 130 kB / 4.475 GB, free: 23.97 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006687/16.61, allocations: 103.9 kB / 4.476 GB, free: 23.87 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 1.194/17.81, allocations: 236.6 MB / 4.707 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.22e-07/17.81, allocations: 3.75 kB / 4.707 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.11/17.92, allocations: 32.81 MB / 4.739 GB, free: 72.68 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * 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.06926/17.99, allocations: 8.635 MB / 4.747 GB, free: 65.75 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.03876/18.03, allocations: 12.16 MB / 4.759 GB, free: 55.04 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/18.03, allocations: 5.406 kB / 4.759 GB, free: 55.03 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00965/18.04, allocations: 3.145 MB / 4.762 GB, free: 52.25 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07824/18.11, allocations: 0.8793 MB / 4.763 GB, free: 51.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09514/18.21, allocations: 13.38 MB / 4.776 GB, free: 39.84 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009876/18.22, allocations: 3.954 MB / 4.78 GB, free: 36.91 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.9241/19.14, allocations: 87.46 MB / 4.865 GB, free: 230.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00669/19.15, allocations: 2.506 MB / 4.868 GB, free: 230.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.633e-06/19.15, allocations: 1.906 kB / 4.868 GB, free: 230.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.268/26.42, allocations: 1.641 GB / 6.509 GB, free: 23.96 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002645/26.42, allocations: 239.5 kB / 6.509 GB, free: 23.64 MB / 1.12 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState.o Buildings_latest_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState.c:7: In file included from ./Buildings_latest_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.o Buildings_latest_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.c:2: In file included from ./Buildings_latest_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_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_latest_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.c:7: In file included from ./Buildings_latest_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources/getTimeSpan.h:11:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_latest_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.o' failed make: *** [Buildings_latest_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.o] Error 1